POST
/
api
/
user
/
{user_id}
/
roles
/
remove
Remove User Role
curl --request POST \
  --url https://platform.grorapid.com/api/user/{user_id}/roles/remove \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "role_id": "<uuid>",
  "token": "<token>"
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

Body

application/json
role_id
string
required
token
string
required

Response

201 - application/json

Successful response.

The response is of type object.