curl --request PATCH \
--url https://api.cnap.tech/v1/products/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "PostgreSQL Managed",
"sources": [
{
"chart": {
"repo_url": "<string>",
"target_revision": "<string>",
"chart": "<string>",
"path": "<string>"
},
"values": {},
"metadata": {}
}
],
"cluster_ids": [
"<string>"
],
"stripe_price_ids": [
"<string>"
],
"settings": {
"custom_image": "<string>",
"custom_description": "<string>",
"show_sources": true
}
}
'{
"product_id": "<string>",
"template_id": "<string>"
}curl --request PATCH \
--url https://api.cnap.tech/v1/products/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "PostgreSQL Managed",
"sources": [
{
"chart": {
"repo_url": "<string>",
"target_revision": "<string>",
"chart": "<string>",
"path": "<string>"
},
"values": {},
"metadata": {}
}
],
"cluster_ids": [
"<string>"
],
"stripe_price_ids": [
"<string>"
],
"settings": {
"custom_image": "<string>",
"custom_description": "<string>",
"show_sources": true
}
}
'{
"product_id": "<string>",
"template_id": "<string>"
}Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://dash.cnap.tech/account/tokens
Product ID