Skip to content

/auth/totp/disable

POST
/auth/totp/disable
curl --request POST \
--url https://example.com/api/v1/auth/totp/disable \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "code": "example" }'
Media typeapplication/json
object
code
required
string
/^\d{6}$/
Examplegenerated
{
"code": "example"
}

Default Response

Media typeapplication/json
object
ok
required
boolean
Example
{
"ok": true
}