DELETE
/
organization
/
projects
/
{project_id}
/
users
/
{user_id}
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
}

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.

user_id
string
required

The ID of the user.

Response

200
application/json

Project user deleted successfully.

The response is of type object.