System - Request new temporary token
API Url
Use it for granting temporary access with a one time only password. Can be used also as recovery password.
GET
http://localhost:16010/ProMarkREST/web/System/users/{id}/token
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
| user_id | String | Username of a portal user. |
Success 200
| Field | Type | Description |
|---|---|---|
| token | String | Access token value. |
Success example:
HTTP/1.1 200 OK{"response": {"data": {"token": "0123456789abcdefg"}}}
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data (empty). |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |