Skip to main content
DELETE
/
v1
/
roles
/
{id}
Delete role
curl --request DELETE \
  --url https://api-sandbox.rinne.com.br/core/v1/roles/{id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "AUTHENTICATION_ERROR",
    "message": "Authentication required to access this resource",
    "status": 401,
    "details": {
      "reason": "Invalid API key"
    },
    "path": "/companies/me",
    "timestamp": "2023-12-01T10:00:00.000Z",
    "requestId": "req_123456789"
  }
}

Authorizations

Authorization
string
header
required

JWT token for user authentication

Path Parameters

id
string
required

Role ID

Response

Role deleted successfully