Skip to main content
POST
Revoke all access to a cluster

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-ankra-organisation-id
string

PAT organisation override.

Path Parameters

cluster_id
string<uuid>
required

Response

Access was revoked.

What revoking all access to a cluster did.

revoked_tokens
integer
required

Kube tokens (kubeconfigs) revoked.

deleted_grants
integer
required

Access grants deleted.

retained_role_grants
integer
required

Live grants that organisation roles carry, which stay.

retained_role_grants_reason
string | null
required

Why the role grants stay; null when there are none.