Deactivate two-factor authentication
POST/users/{userId}/deactivate2FA
Base URL: https://api.tinkermode.com
Deactivate Two-Factor Authentication. The user must provide a correct password to carry out this action.
Authentication
Send an Authorization header of the form ModeCloud <AUTH_CODE>.
Must contain API key of the matching user.
Path parameters
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
userId | integer | Yes | The unique ID for the specified user. |
Request body
Content type: application/json
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
password | string | Yes | User's password. |
Request example
{
"password": "userpassword"
}