# This method will create a new User2Factor Object for given type **GET /api/base/2fa/new/{type}** ## Servers - https://replace-with-own-host.iw-erp.de: https://replace-with-own-host.iw-erp.de () ## Authentication methods - Session token - Jwt token internal - Login config ## Parameters ### Path parameters - **type** (string) ### Query parameters - **iw-build-id** (string) build id of the client - **iw-package-id** (string) package id of the client ## Responses ### 200 This method will create a new User2Factor Object for given type #### Body: application/json (object) - **id** (integer) - **factor_type** (string) - **shared_secret** (string) - **qr_code_content** (string) - **created** (string(date-time)) - **updated** (string(date-time)) - **deleted** (boolean) [Powered by Bump.sh](https://bump.sh)