メインコンテンツへスキップ
DELETE
https://{tenantDomain}/api/v2
/
roles
/
{id}
/
groups
Remove groups from a role
curl --request DELETE \
  --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.

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

Unique identifier for the role (service-generated).

ボディ

groups
string[]
必須

Array of group IDs to remove from the role.

Minimum array length: 1

Unique identifier for the group (service-generated).

Required string length: 18 - 26
Pattern: ^grp_[1-9a-km-zA-HJ-NP-Z]{14,22}$

レスポンス

Groups successfully removed from role.