Basilisk
API referenceReference

List organization service tokens

GET
/v1/admin/service-tokens

Authorization

sessionCookie
basilisk_session<token>

Browser session minted by the prefix.dev OIDC login.

In: cookie

Response Body

application/json

curl -X GET "https://example.com/v1/admin/service-tokens"
{  "service_tokens": [    {      "created_at": "2019-08-24T14:15:22Z",      "created_by": "string",      "description": "string",      "expires_at": "2019-08-24T14:15:22Z",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "key_id": "string",      "last_used_at": "2019-08-24T14:15:22Z",      "name": "string",      "organization": {        "name": "string",        "slug": "string"      },      "revoked_at": "2019-08-24T14:15:22Z",      "status": "active"    }  ]}