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

requestTokenstring

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

OR
AuthorizationBearer

OAuth2 Bearer access token from the client-credentials flow. See OAuth authentication.

Path parameters

userIdlongRequired
User Identifier

Request

This endpoint expects an object.
mfabooleanOptional
mfaModeintegerOptional

Response

Success
responseTextstring

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

isSuccessboolean

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