Skip to content

Disable two-factor authentication

Turns two-factor off and discards the authenticator secret and recovery codes. The action requires a current authenticator or recovery code.

DELETE/v1/users/me/two-factor
Requires an access token.

Header Parameters

Authorization*string

OAuth 2.0 bearer token.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://auth.ecomiq.pe/v1/users/me/two-factor" \  -H "Authorization: Bearer <token>"
Empty