Delete TOTP
This API call allows a user to disable TOTP (Time-Based One-Time Password) as a second-factor authentication.
| Header | Type | Description | Example |
|---|
Content-Type | string | The content type of the request body. | application/json |
Authorization | string | Bearer token for user authentication. | {{access_token}} |
x-api-key | string | The API key provided by SynapseWave. | {{x-api-key}} |
🟢Success Response - 200 OK
| Field | Type | Description | Example |
|---|
| status | string | Indicates the status of the API call | "success" |
| code | string | Response code indicating the result of the request | "s-101" |
| message | string | Confirmation message indicating TOTP has been successfully disabled. | "TOTP disabled successfully" |
| data | object | Contains details related to the TOTP deletion process. | See below for object fields |
📄Data Object Fields Info
| Field | Type | Description | Example |
|---|
| user_id | string | Unique Client Code (UCC) for whom TOTP was disabled | "UCC123456" |