Unlink Identity
DELETE/api/v1/auth/accounts/:username/identities/:key
Unlink an IdP sign-in from an account (admin only).
The sign-in's record becomes an account of its own, which its next sign-in judges on its own groups. Every session of the account ends, so one opened through the sign-in does not outlive the link. Taking away the groups the sign-in linked needs the roles they carry, as removing a group does.
Request
Responses
- 204
- 401
- 403
- 404
- 409
- 422
- default
Successful Response
No valid session: the credentials are missing, invalid or expired, or the account behind them is disabled or blocked
Refused: the session lacks the action this route checks, or its account must replace an issued password first. A SCIM route answers a refused action in the RFC 7644 error envelope
not_found: no such account, or it lists no sign-in under key
last_admin: the sign-in gives the last usable account its system admin role
Validation Error
Problem details (RFC 9457)