curl --request POST \
--url https://{tenantDomain}/api/v2/roles/{id}/groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"groups": [
"<string>"
]
}
'Assign one or more groups to a specified role.
curl --request POST \
--url https://{tenantDomain}/api/v2/roles/{id}/groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"groups": [
"<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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier for the role (service-generated).
Array of group IDs to assign to the role.
1Unique identifier for the group (service-generated).
18 - 26^grp_[1-9a-km-zA-HJ-NP-Z]{14,22}$Groups successfully assigned to role.
このページは役に立ちましたか?