UserToken
Resource
Endpoints | URI | Access Control | Description |
---|---|---|---|
get | GET /api/UserToken/get |
Authentication only | |
create | POST /api/UserToken/create |
Authentication only | API endpoint to create a token @param $data: integer for user_id, or array of options Token expiry cannot be set to more than 96 hrs unless the scope is set. Then it will have a limit of 5 years. Required params: 'user_id' |
delete | POST /api/UserToken/delete |
Admin or Module WRITE |
Property | Type | Description |
---|---|---|
id |
number | |
token |
string | |
label |
string | |
issued |
datetime | |
expiry |
datetime | |
user_id |
number | |
created_by_user |
boolean | |
is_readonly |
boolean | |
single_use |
boolean | |
scope_json |
string |
Setting | |
---|---|
Pagination Limit (when page parameter is set) |
None |
Default Sort Order | By insertion order |
Related Resource | Key | Relationship to UserToken | Property |
---|---|---|---|
User | user_id |
Belongs To | User |