This method will verify a User2Factor Object
Query parameters
-
iw-build-id
string build id of the client
-
iw-package-id
string package id of the client
GET
/api/base/2fa/verify/{id}/{code}
curl \
--request GET 'https://replace-with-own-host.iw-erp.de/api/base/2fa/verify/{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
}