Path parameters

Query parameters

Responses

  • 200 application/json

    This method will delete a User2Factor Object, requires a valid 2fa code

    Hide response attributes Show response attributes object
DELETE /api/base/2fa/delete/{id}/{code}
curl \
 --request DELETE 'https://replace-with-own-host.iw-erp.de/api/base/2fa/delete/{id}/{code}' \
 --header "x-session-token: $API_KEY"
Response examples (200)
{
  "id": 42,
  "factor_type": "string",
  "created": "2025-05-04T09:42:00Z",
  "updated": "2025-05-04T09:42:00Z",
  "deleted": true
}