Kubernetes Cluster
- PATCH
- /workspaces
- /:workspace
- /targets
- /:target_id
Update Kubernetes Cluster 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": "K8S_CLUSTER",
"identifier": "k8s-production-cluster",
"name": "Production Kubernetes Cluster",
"cluster": "https://k8s-api.example.com:6443",
"auth": {
"method": "TOKEN",
"token": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjEyMzQ1NiJ9..."
},
"tags": [
"kubernetes",
"production",
"cluster"
]
}'STATUS200 OK