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

Remove a group from a project

Removes a group from a project and revokes the group's access to that project. Supply both project_id and group_id to identify the project-group association to remove.

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

2 parameters
project_idstringrequired
The unique identifier of the project from which to remove the group.
group_idstringrequired
The unique identifier of the group to remove from the project.

2 status codes
200Returns a confirmation object with `object` set to `project.group.deleted` and `deleted` indicating whether the group was removed from the project.
objectstringrequired
Always `project.group.deleted`.
Allowed:project.group.deleted
deletedbooleanrequired
Whether the group membership in the project was removed.
429Returned when the request is rejected because a rate limit was exceeded.
errorobjectrequired

Error handling

A 429 is returned when the request exceeds the applicable rate limit. project_id and group_id must identify the project and group association to remove.