Enable Users MFA
The multi-factor authentication settings (MFA) control whether a user can authenticate using MFA actions. This endpoint enables or disables MFA capability.
|
You can enable multi-factor authentication by setting |
For information about user MFA device management, refer to MFA devices.
MFA settings data model
| Property | Type | Required | Mutable | Description |
|---|---|---|---|---|
|
String |
Required |
Immutable |
The user resource’s unique identifier. |
|
Boolean |
Required |
Mutable |
Whether multi-factor authentication is enabled. This attribute is set to 'false' by default when the user is created. |
Response codes
| Code | Message |
|---|---|
200 |
Successful operation. |
204 |
Successfully removed. No content. |
400 |
The request could not be completed. |
401 |
You do not have access to this resource. |
404 |
The requested resource was not found. |
Enable Users MFA errors
In addition to the general error codes, Enable Users MFA operations can return the following errors:
| HTTP status | Top‑level code | Detail code | When it happens and what the response contains |
|---|---|---|---|
400 |
|
|
Message: When and detailsWhen: A Details: For a JSON field conversion error, the target is the field path. Otherwise no detail is returned. |
400 |
|
|
Message: When and detailsWhen: A Details: |
403 |
|
None |
Message: When and detailsWhen: The actor lacks the Details: None |
403 |
|
|
Message: When and detailsWhen: A Details: |
404 |
|
None |
Message: When and detailsWhen: A Details: None |