Enable Two Step
POST {{URL}}/v1/settings/account/two-step
To enable two-factor verification, use the /v1/settings/account/two-step endpoint with the pin parameter.
If you forget or misplace your PIN, you can disable two-factor verification, and then enable it again with a new PIN.
Using the Two-Factor Verification PIN in Registration
If you are trying to re-register while the account has two-factor verification enabled, include the pin parameter in the registration request. For more details on registration with two-factor verification enabled, see the Registration documentation.
Request Parameter
| Name | Description |
|---|---|
pin | Required. A 6-digit PIN you want to use for two-step verification. |
Response
A successful request returns the HTTP Status Code 200 OK and either null or {}. If you encounter any errors, see Error and Status Messages.
Request Body
{"pin"=>"<Two-Step Verification PIN>"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Authorization | string |
RESPONSES
status: OK
{"meta":{"api_status":"stable","version":"v2.45.1"}}