POST
/
organization
/
projects
/
{project_id}
/
users
curl --request POST \
  --url https://api.openai.com/v1/organization/projects/{project_id}/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": "<string>",
  "role": "owner"
}'
{
  "object": "organization.project.user",
  "id": "<string>",
  "name": "<string>",
  "email": "<string>",
  "role": "owner",
  "added_at": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

The ID of the project.

Body

application/json

The project user create request payload.

The body is of type object.

Response

200
application/json

User added to project successfully.

Represents an individual user in a project.