Docs
Live demo
DELETE/api/v2/identities/{id}/token-exchange-trusts/{trust_id}
security:manageConsole session only

Stop the service account from signing in with this token. The next token exchange is refused. Tokens Dex already issued stay valid until they expire. An API token makes this change only when it was issued with allow_security_changes.

Parameters

Path2 required of 2
idstringpathrequired

Identity ID (UUID) of the service account

trust_idstringpathrequired

Trusted token ID (UUID)

Responses

204

No Content

403

Forbidden: the caller's roles do not grant the permission of the operation, the administrator's second factor was not confirmed recently (details.reason=mfa_reauth_required), or the request uses an API token issued without allow_security_changes (details.reason=api_token_security_changes_not_allowed).

404

Not Found: no such user in the organization, or no such trusted token of this user.

Common errors: 400 401 413 429 503 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close