Skip to main content
DELETE
/
v1
/
roles
/
{roleId}
Delete a custom role
curl --request DELETE \
  --url http://localhost:3333/v1/roles/{roleId} \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "message": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

roleId
string
required

Role ID

Example:

"rol_abc123"

Response

Role deleted successfully

success
boolean
message
string