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

Unassign organization role from group

Unassigns an organization role from a group within the organization.

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

2 parameters
group_idstringrequired
The ID of the group to modify.
role_idstringrequired
The ID of the organization role to remove from the group.

2 status codes
200Organization 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.