Skip to main content
POST
/
v1
/
installs
/
standalone
Create standalone install
curl --request POST \
  --url https://api.cnap.tech/v1/installs/standalone \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "my-redis",
  "cluster_ids": [
    "<string>"
  ],
  "helm_sources": [
    {
      "chart": {
        "repo_url": "<string>",
        "target_revision": "<string>",
        "chart": "<string>",
        "path": "<string>"
      },
      "values": {},
      "metadata": {}
    }
  ]
}
'
{
  "error": {
    "code": "not_found",
    "message": "Resource not found",
    "param": "name",
    "suggestion": "Run `cnap clusters list` to see available clusters",
    "details": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://dash.cnap.tech/account/tokens

Headers

idempotency-key
string

Unique key to prevent duplicate operations. If the same key is sent again, the existing workflow is returned instead of creating a new one.

Required string length: 1 - 256
Example:

"deploy-prod-2024-03-15"

Body

application/json
name
string
required
Required string length: 1 - 100
Example:

"my-redis"

cluster_ids
string[]
required

Cluster IDs to deploy to

Minimum array length: 1
helm_sources
object[]
required
Minimum array length: 1

Response

Install workflow started