Skip to content

Adds a user to the project. Users must already be members of the organization to be added to a project.

POST
/organization/projects/{project_id}/users

Authorizations

Parameters

Path Parameters

project_id
required
string

The ID of the project.

Request Body required

The project user create request payload.

object
user_id
required

The ID of the user.

string
role
required

owner or member

string
Allowed values: owner member

Responses

200

User added to project 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