Skip to main content
DELETE
https://{tenantDomain}/api/v2
/
organizations
/
{organization_id}
/
groups
/
{group_id}
/
roles
Removes roles assigned to a group in an organization context.
curl --request DELETE \
  --url https://{tenantDomain}/api/v2/organizations/{organization_id}/groups/{group_id}/roles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "roles": [
    "<string>"
  ]
}
'

Documentation Index

Fetch the complete documentation index at: https://auth0.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_id
string
required

ID of the organization

group_id
string
required

ID of the group

Body

roles
string<role-id>[]
required

Array of role IDs to delete from organization group.

Minimum array length: 1

Unique identifier for the role (service-generated).

Response

Roles successfully removed from organization group.