Rotate Principal Dex Connector login password for an identity. The new password is returned once. An administrator with an enrolled second factor must have confirmed it within the re-authentication window (POST /auth/mfa/reauth). An API token makes this change only when it was issued with allow_security_changes.
Parameters
Identity ID (UUID)
Request body application/json · RotatePrincipalCredentialsRequest
Principal credential rotation request
Manual password. Validated in UTF-8 bytes: 12-72 bytes, including uppercase, lowercase, digit, and special characters. Omit to auto-generate.
Responses
Rotation completed
RotatePrincipalCredentialsResponse · 2 fields
Forbidden: the caller's roles do not grant the permission of the operation, or 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).
Common errors: 400 401 404 413 429 503 504. They mean the same for every operation, see Errors.