Skip to content

Token

Manage Access Tokens.


Action

Endpoint

1
POST /token/action

Authorized User Role

1
admin

Request Body

Field Type
action string
ids array

Create

Endpoint

1
POST /token/create

Authorized User Role

1
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

1
POST /token/get

Authorized User Role

1
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

1
POST /token/find

Authorized User Role

1
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

1
POST /token/init

Authorized User Role

1
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

1
POST /token/remove

Authorized User Role

1
admin

Request Body

Field Type
cloudId string
id string

Update

Endpoint

1
POST /token/update

Authorized User Role

1
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