DigitalOcean Kubernetes
- PATCH
- /workspaces
- /:workspace
- /targets
- /:target_id
Update DigitalOcean Kubernetes target configuration
Request example
curl -X PATCH "https://api.buddy.works/workspaces/:workspace/targets/:target_id" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"type": "DOKS",
"identifier": "do-k8s-cluster",
"name": "DigitalOcean Kubernetes Cluster",
"integration": "digitalocean-integration",
"cluster": "do-cluster-prod",
"region": "nyc1",
"tags": [
"kubernetes",
"digitalocean",
"production"
]
}'STATUS200 OK