Query parameters

Responses

GET /api/base/2fa/new/{type}
curl \
 --request GET 'https://replace-with-own-host.iw-erp.de/api/base/2fa/new/{type}' \
 --header "x-session-token: $API_KEY"
Response examples (200)
{
  "id": 42,
  "factor_type": "string",
  "shared_secret": "string",
  "qr_code_content": "string",
  "created": "2025-05-04T09:42:00Z",
  "updated": "2025-05-04T09:42:00Z",
  "deleted": true
}