Admiral

Serviceaccounts

Delete a service account

DELETE
/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

Authorization

bearerAuth
AuthorizationBearer <token>

An API key, or an access token minted from one. Pass it in the Authorization header: Bearer admp_...

In: header

Path Parameters

serviceAccount*string

The serviceAccount id.

Query Parameters

etag?etag

When set, the delete is refused unless it matches the service account's current etag.

Response Body

application/json

curl -X DELETE "https://example.com/v1/serviceAccounts/string"
{}