メインコンテンツへスキップ
DELETE
/
members
/
{user_id}
/
roles
Remove roles from a member
curl --request DELETE \
  --url https://{tenantDomain}/my-org/v1/members/{user_id}/roles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "role_ids": [
    "rol_SO2j0sFo9NFa3F9w"
  ]
}
'

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

パスパラメータ

user_id
string
必須

The user ID.

Pattern: ^(?=.{1,1024}$).+\|.+$

ボディ

application/json
role_ids
string[]
必須
Required array length: 1 - 10 elements

The ID of a role that can be assigned to a member of an organization.

Pattern: ^rol_[A-Za-z0-9]{16}$

レスポンス

Role(s) successfully unassigned from member.