Project tokens

Token

get

Token by ID.

Authorizations
Path parameters
tokenIDstring · uuidRequired
Responses
200
OK
application/json
get
GET /v1/project_tokens/{tokenID} HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "token": "redacted",
  "name": "my-token",
  "permissions": [
    "create:*"
  ],
  "createdAt": "2025-06-15T14:38:46.135Z"
}

Delete token

delete

Delete token by its ID.

Authorizations
Path parameters
tokenIDstring · uuidRequired
Responses
204
No Content
delete
DELETE /v1/project_tokens/{tokenID} HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204

No Content

No content

Update token

patch

Update token by its ID.

Authorizations
Path parameters
tokenIDstring · uuidRequired
Body

Update token request body.

namestring | nullableOptionalDefault: nullExample: new-token
Responses
204
No Content
patch
PATCH /v1/project_tokens/{tokenID} HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 47

{
  "name": "new-token",
  "permissions": [
    "create:*"
  ]
}
204

No Content

No content