Validate verification code
POST {{baseUrl}}/users/:user_id/two-factor/verify-code
Validate the verification code sent to a phone number. If this request is successful, it enables two-factor authentication for the specified user.
Note: The workflow for two-factor authentication is as follows:
Requires ADMINISTRATOR [64] user permissions. See Permissions.
Request Body
{"verification_code"=>"est laboris"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{}