---
title: "Cancel a 2FA verification"
method: PATCH
path: "/v1/two-fa/verification/{session_id}/cancel"
tags: ["2FA"]
---

# Cancel a 2FA verification

`PATCH /v1/two-fa/verification/{session_id}/cancel`

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.

## Path parameters

- `session_id` string, required

## Response `200`

Returns a success confirmation. The verification is canceled.

- SuccessResponse
  - `success` boolean, required — Indicates whether the request was successful.

## Other responses

- `400` — Returns a validation error when a required field is missing or invalid.
- `403` — Request failed. The feature is disabled for your account.
- `404` — Returns when no verification matches `session_id`.

## Changes

- **2026-06-15** `76b9bb35619f` — 1 warning, 1 info
  - removed the optional property `error_code` from the response with the `403` status
  - the response property `success` became required for the status `200`
- **2026-05-25** `33be77905120` — 1 info
  - the endpoint scheme security `bearerAuth` was added to the API

[Change history](https://skmtc.dev/wavix/apis/wavix-apis/changes/v1/two-fa/verification/:session_id/cancel/patch.md)

---

[API](https://skmtc.dev/wavix/apis/wavix-apis.md) · [All operations](https://skmtc.dev/wavix/apis/wavix-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wavix/wavix-apis/revisions/b22f170488b6/schema)
