Skip to content

Cancel a pending TOTP enrollment

POST
/v1/me/totp/enroll/cancel
curl --request POST \
--url https://example.com/v1/me/totp/enroll/cancel \
--header 'Authorization: Bearer <token>'

Drops an unverified pending enrollment so the user can start over. Full JWT only. Returns 409 if the TOTP is already verified (use DELETE /v1/me/totp).

Pending enrollment cleared (or none existed)

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"
}