APIAdministration
Delete an access role
DELETE
bearerAuth roles.manageheader
AuthorizationBearer <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
id*stringRole deleted.
curl -X DELETE 'https://your-instance.example/api/v1/roles/string'Example Response
Empty
Replace an access role PUT
Previous Page
List flights GET
**Deprecated:** This endpoint will be removed in the next major AirTrail release. Migrate to `GET /api/v1/flights`. List flights visible to the authenticated API key. `scope=mine` requires `flight.read.own`. `scope=user` and `scope=all` require `flight.read.any`.
