Skip to main content
DELETE
/
api
/
users
/
roles
/
{role}
Delete Role
curl --request DELETE \
  --url https://api.example.com/api/users/roles/{role} \
  --header 'Authorization: Bearer <token>'
{
  "roles": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-Key
string | null

Path Parameters

role
string
required

Cookies

antidote_session
string | null

Response

Successful Response

roles
string[]
required