curl --request GET \
--url https://api.openai.com/v1/organization/projects/{project_id}/users/{user_id} \
--header 'Authorization: Bearer <token>'
{
"object": "organization.project.user",
"id": "<string>",
"name": "<string>",
"email": "<string>",
"role": "owner",
"added_at": 123
}
Retrieves a user in the project.
curl --request GET \
--url https://api.openai.com/v1/organization/projects/{project_id}/users/{user_id} \
--header 'Authorization: Bearer <token>'
{
"object": "organization.project.user",
"id": "<string>",
"name": "<string>",
"email": "<string>",
"role": "owner",
"added_at": 123
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the project.
The ID of the user.
Project user retrieved successfully.
Represents an individual user in a project.
Was this page helpful?