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
}

Changes

Changed in 2 of the 50 revisions of this API.12

  • 76b9bb35619f11See the full diff
    • removed the optional property from the response with the status

      response-optional-property-removed

    • the response property became required for the status

      response-property-became-required

    This revision also has 42 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the endpoint scheme security bearerAuth was added to the API

      api-security-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog