Skip to content

Remove own TOTP

DELETE
/v1/me/totp
curl --request DELETE \
--url https://example.com/v1/me/totp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "password": "example" }'

Removes a verified TOTP credential and all recovery codes. Requires a password re-auth in the body even with a valid JWT.

Media typeapplication/json

Removing a verified TOTP requires a password re-auth.

object
password
required
string
Examplegenerated
{
"password": "example"
}

TOTP removed

Error response

Media typeapplication/problem+json

RFC 7807 Problem Details

object
type

Problem type slug URI

string
title
string
status
integer
detail
string
key
additional properties
any
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example"
}