Avnology ID
API ReferenceService Accounts

Delete Service Account

Delete a service account and revoke all its API keys.

Endpoint

DELETE /v1/service-accounts/{id}

Base URL: https://api-id.avnology.net

Authentication: API Key or OAuth token with admin:service-accounts:write scope

Deleting a service account immediately revokes all associated API keys.

Request

curl -X DELETE "https://api-id.avnology.net/v1/service-accounts/sa_3c2d1e0f-9a8b-7c6d-5e4f-3a2b1c0d9e8f" \
  -H "Authorization: Bearer ak_live_..."

Response

Success (204 No Content)

Errors

StatusCodeDescription
404AVNOLOGY_AUTH_901Service account not found