Authentication
Remove a two-factor method
Changed onRemoves an enrolled method. Requires the current password, a live authenticator code, or one of the existing recovery codes (which is then consumed), so that a stolen session cannot silently disable two-factor authentication. Removing the last method also discards the recovery codes.
delete/v1/users/self/mfa/{customId}
Request
- Base URLhttps://api.assinafy.com.br
- URLhttps://api.assinafy.com.br/v1/users/self/mfa/{customId}
- Auth
- HTTP bearer
- or API key in header X-Api-Key
Path parameters
customIdstring required
Request body
Example request
{
"code": "123456"
}Response
Method removed
Example response
{
"status": 200
}Changes
- info
endpoint added
- info