PATCH
/
v1
/
two-fa
/
verification
/
{session_id}
/
cancel
Cancel a 2FA verification
curl --request PATCH \
  --url https://api.wavix.com/v1/two-fa/verification/{session_id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.

Path Parameters

session_id
string
required

The unique ID of the 2FA verification session.

Example:

"2953d4308f2e11ecb75fcdafd6d2d687"

Response

Returns a success confirmation. The verification is canceled.

success
boolean
required

Indicates whether the request was successful.

Example:

true