List service tokens
GET/v1/workspaces/{workspaceId}/service-tokens
Returns the service tokens for the given workspace, newest first.
AuthorizationBearer <token>
OAuth2 authentication
In: header
Scope: workspace:admin, offline_access
workspaceId*string
Match^(wksp_)?([cC][^\s-]{8,}|[a-z0-9]+)$
cursor?|
Cursor for pagination
limit?integer
Page size, 1-100
Range1 <= value <= 100
Default100
application/json
Section titled “application/json”application/json
Section titled “application/json”curl -X GET "https://example.com/v1/workspaces/string/service-tokens"{
"data": [
{
"id": "string",
"type": "serviceToken",
"name": "string",
"valueHint": "string",
"createdAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"nextCursor": "string",
"hasMore": true
}
}