--- title: "Delete a service account" canonical: "https://admiral.io/docs/api/serviceaccounts/ServiceAccountAPI_DeleteServiceAccount" --- # Delete a service account `DELETE https://api.admiral.io/v1/serviceAccounts/{serviceAccount}` - FAILED_PRECONDITION for an agent's, which goes with its agent. - ABORTED when `etag` is set and the service account changed since it was read. Scope: `serviceaccount:write` ### Path parameters - `serviceAccount` (string, required): The serviceAccount id. ### Query parameters - `etag` (string): When set, the delete is refused unless it matches the service account's current etag. ### Response 200 Success Type: DeleteServiceAccountResponse.