Tokens
Tokens
Tokens from a project.
GEThttps://cloud-api.calyptia.com/v1/projects/{projectID}/tokens
Authorization
Path parameters
projectID*string (uuid)
Query parameters
Response
OK
Body
id*string (uuid)
token*string
Example: "redacted"
name*string
Example: "my-token"
permissions*array of Permission (enum)
createdAt*string (date-time)
Request
Response
Create token
Create token within a project. These tokens are to authorize other applications to access the project. For example:
- an agent might use it to register itself to the project.
- you might deploy a new core instance in the project with the CLI/Helm.
- you might use it within the Calyptia CLI to grant access to your project.
POSThttps://cloud-api.calyptia.com/v1/projects/{projectID}/tokens
Authorization
Path parameters
projectID*string (uuid)
Body
name*string
Example: "new-token"
permissions*array of Permission (enum)
Response
Created
Body
id*string (uuid)
token*string
Example: "redacted"
name*string
Example: "my-token"
permissions*array of Permission (enum)
createdAt*string (date-time)
Request
Response