Update global service
PUT/v1/api/cd/globalservices/{id}
Parameters
Responses
| Parameter | Type | Description |
|---|---|---|
idrequired | string | — |
tags | array | Tags used to match target clusters |
cascade | object | Input for cascade behavior when the global service is deleted |
distro | string | Target cluster distribution |
interval | string | Polling interval for syncing (e.g., "5m", "1h") |
mgmt | boolean | If true, target the management cluster |
namerequired | string | Name for the global service |
project_id | string | ID of the project this global service belongs to |
provider_id | string | ID of the cluster provider to filter target clusters |
reparent | boolean | If true, allows reparenting of existing services |
template | object | Input for a service template configuration |
Response samples
200
{
"tags": [
{
"name": "string",
"value": "string"
}
],
"cascade": {
"delete": false,
"detach": false
},
"distro": "generic",
"id": "string",
"inserted_at": "string",
"interval": "string",
"mgmt": false,
"name": "string",
"project_id": "string",
"provider_id": "string",
"reparent": false,
"service_id": "string",
"template": {
"contexts": [
"string"
],
"git": {
"folder": "string",
"ref": "string"
},
"helm": {
"chart": "string",
"release": "string",
"repository_id": "string",
"url": "string",
"values": "string",
"values_files": [
"string"
],
"version": "string"
},
"id": "string",
"inserted_at": "string",
"kustomize": {
"enable_helm": false,
"path": "string"
},
"name": "string",
"namespace": "string",
"protect": false,
"repository_id": "string",
"templated": false,
"updated_at": "string"
},
"updated_at": "string"
}