curl --request POST \
--url https://api.example.com/v1/roles/revoke \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "Admin",
"userId": "uuid"
}
'Revoke role
curl --request POST \
--url https://api.example.com/v1/roles/revoke \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "Admin",
"userId": "uuid"
}
'Was this page helpful?