Delete organization role
DELETE/organization/roles/{role_id}
Deletes a custom role from the organization.
Delete organization role
curl -X DELETE https://api.openai.com/v1/organization/roles/role_01J1F8ROLE01 \
-H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
-H "Content-Type: application/json"
{
"object": "role.deleted",
"id": "role_01J1F8ROLE01",
"deleted": true
}
Returns Examples
{
"object": "role.deleted",
"id": "role_01J1F8ROLE01",
"deleted": true
}