k0rdent AI Docs

Permanently delete service account

Visibility: public · internal ( OpenAPI Custom Extension: x-visibility )

Hard-delete a service account and all its credentials. This action is irreversible. All credentials are immediately unusable.

Only tenant administrators can delete service accounts. Non-admin callers receive 404 to prevent resource enumeration.

Recommended workflow: disable the service account via PATCH first, confirm no active workloads are affected, then delete.

DELETE
/v1/regions/global/iam/service-accounts/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Bearer token authentication using OAuth2/OIDC tokens

In: header

Path Parameters

id*string

Service account resource identifier.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://api.k0rdent.ai/v1/regions/global/iam/service-accounts/string"
Empty
{
  "error": {
    "code": 0,
    "message": "string",
    "details": [
      {}
    ]
  }
}
{
  "error": {
    "code": 0,
    "message": "string",
    "details": [
      {}
    ]
  }
}
{
  "error": {
    "code": 0,
    "message": "string",
    "details": [
      {}
    ]
  }
}
{
  "error": {
    "code": 0,
    "message": "string",
    "details": [
      {}
    ]
  }
}

How is this guide?

On this page

No Headings