The Register Controller manages registrations requests for apps and the approval process
Reference
Register user
Register a new user
POST/v4/user/register
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| client_id | string | ✓ | Client Id of the app the user wants to register for |
| ✓ | E-Mail-Address of the user who wants to create a new account | ||
| firstname | string | ✓ | Firstname of the registering user |
| lastname | string | ✓ | Lastname of the registering user |
| notes | string | ✗ | Additional notes for the registration request |
| uiLanguage | string | ✗ | UI language for the new user allowed values: ende |
Response
| Field | Type | Description |
|---|---|---|
| clientId | string | Please use client_id instead of clientId |
| client_id | string | Client Id of the app the user wants to register for |
| E-Mail-Address of the user who wants to create a new account | ||
| id | integer | Id of the user to approve/reject |
Approve registration request
Approve a registration request by a user.
POST/v4/user/approve
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| approval | boolean | ✓ | If true, the registration request is approved, if false it will be rejected |
| clientId | string | ✓ | Please use client_id instead of clientId |
| client_id | string | ✓ | Client Id of the app the user wants to register for |
| reason | string | ✗ | Reason for approval or rejection |
| userId | integer | ✓ | Id of the user to approve/reject |
Response
| Field | Type | Description |
|---|---|---|
| clientId | string | Please use client_id instead of clientId |
| client_id | string | Client Id of the app the user wants to register for |
| destroyed | boolean | If true, the user has been deleted from database |
| token | string | Only available in testmode |
| userId | integer | Id of the user to approve/reject |