2FA

Cancel a 2FA verification

Changed on

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

Request

  • Base URL
    https://api.wavix.com
  • URL
    https://api.wavix.com/v1/two-fa/verification/{session_id}/cancel
  • Auth
    HTTP bearer

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

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed from the response body allOf list for the response status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      the response property became required for the status