Passer au contenu principal
POST
https://{tenantDomain}/api/v2
/
organizations
/
{organization_id}
/
groups
/
{group_id}
/
roles
Assigns roles to a group in an organization context.
curl --request POST \
  --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-feat-docs-5498.mintlify.app/llms.txt

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

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

organization_id
string
requis

ID of the organization

group_id
string
requis

ID of the group

Corps

roles
string<role-id>[]
requis

Array of role IDs to assign to organization group.

Minimum array length: 1

Unique identifier for the role (service-generated).

Réponse

Roles successfully assigned to organization group.