Skip to main content
DELETE
/
api
/
v1
/
ops
/
roles
/
{roleId}
Delete Role
curl --request DELETE \
  --url https://api.example.com/api/v1/ops/roles/{roleId} \
  --header 'Authorization: Bearer <token>'
{
  "title": "204-Role deleted"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

roleId
string<uuid>
required

Role identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Response

Role deleted