Configure MFA

View as MarkdownOpen in Claude

Use this endpoint to enable or disable multi-factor authentication (MFA) for a user within an organization.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
requestTokenstring

Long-lived API token sent in the requestToken header. See API token authentication.

Path parameters

userIdlongRequired
User Identifier

Request

This endpoint expects an object.
mfabooleanOptional
mfaModeintegerOptional

Response

Success
responseTextstring

Response text for operation: ‘Success’ or ‘Declined’.

isSuccessbooleanOptional

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error