Skip to content
Primary navigation

Remove project group

DELETE/organization/projects/{project_id}/groups/{group_id}

Revokes a group's access to a project.

Path ParametersExpand Collapse
project_id: string
group_id: string
ReturnsExpand Collapse
deleted: boolean

Whether the group membership in the project was removed.

object: "project.group.deleted"

Always project.group.deleted.

Remove project group

curl -X DELETE https://api.openai.com/v1/organization/projects/proj_abc123/groups/group_01J1F8ABCDXYZ \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
  -H "Content-Type: application/json"
{
    "object": "project.group.deleted",
    "deleted": true
}
Returns Examples
{
    "object": "project.group.deleted",
    "deleted": true
}