Skip to main content
GET
/
v1
/
workspace
/
{ws}
/
tokens
cURL
curl -X GET 'http://localhost:8080/v1/workspace/ws_example/tokens/' \
  -H 'Authorization: Bearer ek_live_xxxxx'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "prefix": "<string>",
    "scope": {
      "all": true,
      "teams": [
        "<string>"
      ],
      "projects": [
        "<string>"
      ],
      "environments": [
        "<string>"
      ]
    },
    "isOwner": true,
    "createdById": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "<string>",
    "expiresAt": "<string>",
    "lastUsedAt": "<string>",
    "revokedAt": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.enkryptify.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Pass Authorization: Bearer ek_live_xxxxx on every request.

Path Parameters

ws
required
Required string length: 2 - 48
Pattern: ^[a-z0-9-]+$

Response

200 - application/json

Default Response

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
name
string
required
prefix
string
required
permission
enum<string>
required
Available options:
read,
read-write
scope
object
required
type
enum<string>
required
Available options:
static,
cli
isOwner
boolean
required
createdById
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
createdAt
string
required
expiresAt
string
required
lastUsedAt
string | null
required
revokedAt
string | null
required