Configure two-factor authentication
PUT {{baseUrl}}/users/:user_id/two-factor
Enables or disables a user's two-factor authentication settings.
Note: The workflow for two-factor authentication is as follows:
Requires ADMINISTRATOR [64] user permissions. See Permissions.
Request Body
{"email_enabled"=>false, "sms_enabled"=>true, "sms_phone"=>"+155555555555"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{}