curl --request DELETE \
--url https://api.openai.com/v1/organization/projects/{project_id}/users/{user_id} \
--header 'Authorization: Bearer <token>'
{
"object": "organization.project.user.deleted",
"id": "<string>",
"deleted": true
}
Deletes a user from the project.
curl --request DELETE \
--url https://api.openai.com/v1/organization/projects/{project_id}/users/{user_id} \
--header 'Authorization: Bearer <token>'
{
"object": "organization.project.user.deleted",
"id": "<string>",
"deleted": true
}
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 deleted successfully.
The response is of type object
.
Was this page helpful?