List all active upload tokens

GET {{baseUrl}}/upload-tokens?sortBy=createdAt&sortOrder=asc&currentPage=1&pageSize=25

Retrieve a list of all currently active delegated tokens.

Request Params

KeyDatatypeRequiredDescription
sortBystringAllowed: createdAt, ttl. You can use these to sort by when a token was created, or how much longer the token will be active (ttl - time to live). Date and time is presented in ISO-8601 format.
sortOrderstringAllowed: asc, desc. Ascending is 0-9 or A-Z. Descending is 9-0 or Z-A.
currentPagenumberChoose the number of search results to return per page. Minimum value: 1
pageSizenumberResults per page. Allowed values 1-100, default is 25.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":[{"token":"\u003cstring\u003e","ttl":"\u003cinteger\u003e","createdAt":"\u003cdateTime\u003e","expiresAt":"\u003cdateTime\u003e"},{"token":"\u003cstring\u003e","ttl":"\u003cinteger\u003e","createdAt":"\u003cdateTime\u003e","expiresAt":"\u003cdateTime\u003e"}],"pagination":{"links":[{"rel":"\u003cstring\u003e","uri":"\u003curi\u003e"},{"rel":"\u003cstring\u003e","uri":"\u003curi\u003e"}],"itemsTotal":"\u003cinteger\u003e","pagesTotal":"\u003cinteger\u003e","pageSize":"\u003cinteger\u003e","currentPage":"\u003cinteger\u003e","currentPageItems":"\u003cinteger\u003e"}}