Token
Manage Access Tokens.
Action
Endpoint
POST /token/action
Authorized User Role
admin
Request Body
Field | Type
- | - action | string ids | array
Create
Endpoint
POST /token/create
Authorized User Role
admin
Request Body
Field | Type
- | - cloudId | string description | string enable | boolean expires | date role | string type | string
Response
Field | Type
- | - accountId | string cloudId | string description | string enable | boolean expires | date id | string owner | string role | string type | string
Get
Endpoint
POST /token/get
Authorized User Role
admin
Request Body
Field | Type | Required
- | - | - id | string | yes cloudId | string | owner | string | type | string |
Response
Field | Type
- | - accountId | string cloudId | string description | string enable | boolean expires | date id | string owner | string role | string type | string
Find
Endpoint
POST /token/find
Authorized User Role
admin
Request Body
Field | Type
- | - id | string cloudId | string owner | string type | string
Query String Options
Field | Type
- | - hidden | boolean filter | string limit | number next | object prev | object index | string where | string log | boolean
Response
Paged response.
Field | Type | Notes
- | - | - data | array | A token object. next | string | Paged cursor to use for the next page of items. prev | string | Pages cursor to use for the previous page of items.
Token
An array of Token items.
Field | Type
- | - accountId | string cloudId | string description | string enable | boolean expires | date id | string owner | string role | string type | string
Init
Endpoint
POST /token/init
Authorized User Role
admin
Request Body
A object.
Response
Field | Type
- | - accountId | string cloudId | string description | string enable | boolean expires | date id | string owner | string role | string type | string
Remove
Endpoint
POST /token/remove
Authorized User Role
admin
Request Body
Field | Type
- | - cloudId | string id | string
Update
Endpoint
POST /token/update
Authorized User Role
admin
Request Body
Field | Type
- | - cloudId | string description | string enable | boolean expires | date id | string role | string type | string
Response
Field | Type
- | - accountId | string cloudId | string description | string enable | boolean expires | date id | string owner | string role | string type | string