The mfaEnabled
attribute is a read-only attribute that cannot be changed through calls to PUT /environments/{environmentId}/users/{userId}
or PATCH /environments/{environmentId}/users/{userId}
. However, you can update the mfaEnabled
value by calling the PUT /environments/{environmentId}/users/{userId}/mfaEnabled
endpoint.
The sample shows the PUT /environments/{environmentId}/users/{userId}/mfaEnabled
operation to enable the user resource’s ability to use multi-factor authentication.