Gets the barcode and secret required for setting up two-factor authentication for the Account.
Returns necessary information for configuring two-factor auth for the Account.
General error response from the platform
{- "data": {
- "qr": "string",
- "secret": "string"
}
}
Disables two-factor auth for the account.
Returns the Account.
General error response from the platform
{- "token": "string"
}
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "name": {
- "first": "string",
- "last": "string"
}, - "email": {
- "address": "string",
- "verified": true,
- "added": "2021-01-30T08:30:00Z"
}, - "two_factor_auth": {
- "verified": true
}, - "allow_support_login": true,
- "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z",
- "last_login": "2021-01-30T08:30:00Z"
}
}
}
Returns a new two-factor auth setup to reset the Account's two-factor auth.
Returns details for setting up two-factor auth.
General error response from the platform
{- "email": "string",
- "password": "string",
- "recovery_codes": [
- "string"
], - "token": "string"
}
{- "data": {
- "qr": "string",
- "secret": "string"
}
}