Modifies a user's role in the organization.
POST /organization/users/{user_id}
POST
/organization/users/{user_id}
Authorizations
Parameters
Path Parameters
user_id
required
string
The ID of the user.
Request Body required
The new user role to modify. This must be one of owner
or member
.
object
role
required
owner
or reader
string
Responses
200
User role updated successfully.
Represents an individual user
within an organization.
object
object
required
The object type, which is always organization.user
string
id
required
The identifier, which can be referenced in API endpoints
string
name
required
The name of the user
string
email
required
The email address of the user
string
role
required
owner
or reader
string
added_at
required
The Unix timestamp (in seconds) of when the user was added.
integer