v50

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-06-16122182589.7 KB
2FA

Cancel a 2FA verification

Cancels the 2FA verification identified by session_id. No further codes are sent, and previously sent codes can no longer be validated. A new verification is required to send another code.

patch/v1/two-fa/verification/{session_id}/cancel

Path parameters

session_idstring required
Example:2953d4308f2e11ecb75fcdafd6d2d687

The unique ID of the 2FA verification session.

Response

Returns a success confirmation. The verification is canceled.

successboolean required

Indicates whether the request was successful.

Example response

{
  "success": true
}