DigitalOcean Kubernetes
- POST
- /workspaces
- /:workspace
- /targets
Create a new DigitalOcean Kubernetes deployment target
Request example
curl -X POST "https://api.buddy.works/workspaces/:workspace/targets" \
-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"
]
}'STATUS201 Created