Skip to content

Turn the authenticator off

POST
/v1/auth/totp/disable
curl --request POST \
--url http://localhost:8080/v1/auth/totp/disable \
--header 'Content-Type: application/json' \
--data '{ "code": "example" }'

Requires a fresh code from the app; a lost device is handled by an administrator reset (DELETE /v1/users/{id}/totp), never by this call. 401 for a wrong code, 409 when no authenticator is active.

Media typeapplication/json

Disabling needs a fresh code; losing the device is handled by an admin reset, not by this call.

object
code
string
Examplegenerated
{
"code": "example"
}

No Content