Sample - OpenAI API
DELETE/projects/{project_id}/groups/{group_id}/roles/{role_id}

Unassign project role from group

Unassigns a project role from a group within a project.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
project_idstringrequired
The ID of the project to modify.
group_idstringrequired
The ID of the group whose project role assignment should be removed.
role_idstringrequired
The ID of the project role to remove from the group.

2 status codes
200Project role unassigned from the group successfully.
objectstringrequired
Identifier for the deleted assignment, such as `group.role.deleted` or `user.role.deleted`.
deletedbooleanrequired
Whether the assignment was removed.
429The request was rejected because a rate limit was exceeded.
errorobjectrequired

Error handling

A 429 is returned: The request was rejected because a rate limit was exceeded.