Revoke a machine identity
Soft-deletes the whole identity: every live credential is revoked at the provider, then the row here is retired, its credential records are marked revoked, and every workspace seat it holds is dropped. Nothing is erased, and the identity provider's OIDC client is not archived — it is left holding no live credential.
The provider first, deliberately. Each credential is revoked before anything local changes; if the provider refuses, the row stays active and the caller sees why. The reverse would leave a retired row beside a working credential — the state nobody can discover. A credential the provider no longer has (expired and purged, or revoked out of band) is already in the end state and does not block the delete.
The row stays readable. status becomes revoked and revoked_at is stamped; the row is not removed, because every audit event this principal produced names it as the actor. Once revoked, the bind check rejects every token on next verify. Seats are dropped whatever their role (admin, builder, viewer). Returns the retired row (its credentials now empty) rather than 204.
Audited. The retire is a deleted service_principal event, each revoked credential a deleted service_principal_credential event, and each dropped seat a deleted workspace member event — all attributed to the caller.
Idempotent, and a retry finishes the job. If a step fails part-way (503), repeating the call revokes what is still live and drops the seats still held; a fully revoked identity answers its recorded state without calling the provider.
Who may revoke. The member who provisioned the identity, or an account admin (organization#clients_manage) over anyone's. Runs as the calling operator — the caller's bearer is forwarded to the provider.
Request
- Base URL: https://api.atlan.com (the document declares no server; this is the origin it was published from)
- URL: https://api.atlan.com/registry/v1/service-accounts/{principal_id}
- Auth: HTTP bearer
Path parameters
The durable principal id
Response
The retired identity.
Changes
No recorded changes to this operation across all 1 revision of this API.