Skip to content

Modifies a user's role in the project.

POST
/organization/projects/{project_id}/users/{user_id}

Authorizations

Parameters

Path Parameters

project_id
required
string

The ID of the project.

user_id
required
string

The ID of the user.

Request Body required

The project user update request payload.

object
role
required

owner or member

string
Allowed values: owner member

Responses

200

Project user’s role updated successfully.

Represents an individual user in a project.

object
object
required

The object type, which is always organization.project.user

string
Allowed values: organization.project.user
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 member

string
Allowed values: owner member
added_at
required

The Unix timestamp (in seconds) of when the project was added.

integer

400

Error response for various conditions.

object
error
required
object
code
required
string
nullable
message
required
string
param
required
string
nullable
type
required
string