DELETE /auth/mfa/devices/{deviceId}
Remove a registered MFA device
Remove a registered MFA device
/auth/mfa/devices/{deviceId}Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
deviceId | string | required |
Responses
200
NestAuthMfaDeviceRemovedResponseDto
| Field | Type | Required | Description |
|---|---|---|---|
message | string | required | Response message Example: Device removed successfully |
Example response
{
"message": "Device removed successfully"
}Try it
curl -X DELETE 'https://api.example.com/auth/mfa/devices/{deviceId}' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'