Hanzo
OpenapiIam

Picks which second factor an account is asked for first when it has more than… — POST /v1/iam/set-preferred-mfa

Picks which second factor an account is asked for first when it has more than one.

POST /v1/iam/set-preferred-mfa

Addresshttps://api.hanzo.ai/v1/iam/set-preferred-mfa
MethodPOST
Operationpost_iam_set-preferred-mfa
AuthAuthorization: Bearer $HANZO_API_KEY

Picks which second factor an account is asked for first when it has more than one. Only a factor the account actually holds: storing an unheld one told the login gate "MFA is on" — factor.Enabled reads that column — while leaving it nothing to ask for, so the sign-in required the password alone.

Request

The document declares no body for POST /v1/iam/set-preferred-mfa. The handler is typed in cloud but its shape is not yet emitted, so the fields are not listed here — ask the MCP door's describe for post_iam_set-preferred-mfa, which answers from the running route.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo iam set-preferred-mfa

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page