curl --request POST \
--url https://api.cnap.tech/v1/installs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"product_id": "<string>",
"region_id": "<string>",
"overrides": [
{
"template_helm_source_id": "<string>",
"values": {}
}
]
}
'{
"error": {
"code": "not_found",
"message": "Resource not found",
"param": "name",
"suggestion": "Run `cnap clusters list` to see available clusters",
"details": "<unknown>"
}
}Deploys a product to a region. Pass an Idempotency-Key header to safely retry on timeout.
curl --request POST \
--url https://api.cnap.tech/v1/installs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"product_id": "<string>",
"region_id": "<string>",
"overrides": [
{
"template_helm_source_id": "<string>",
"values": {}
}
]
}
'{
"error": {
"code": "not_found",
"message": "Resource not found",
"param": "name",
"suggestion": "Run `cnap clusters list` to see available clusters",
"details": "<unknown>"
}
}Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://dash.cnap.tech/account/tokens
Unique key to prevent duplicate operations. If the same key is sent again, the existing workflow is returned instead of creating a new one.
1 - 256"deploy-prod-2024-03-15"
Install workflow started