APIAdministration

Delete an access role

DELETE
/api/v1/roles/{id}

Authorization

bearerAuth roles.manage
headerAuthorizationBearer <API key or OAuth 2.1 access token>

Send Authorization: Bearer <credential>. Create API keys in AirTrail Security settings. OAuth clients use authorization code with PKCE S256 and a resource identifier matching /api/v1.

Scope: roles.manage

Path Parameters

id*string

Response Body

Role deleted.

Example Request
curl -X DELETE 'https://your-instance.example/api/v1/roles/string'
Example Response
Empty