Edit
- PATCH
- /workspaces
- /:workspace
- /targets
- /:target_id
Edits a Azure Kubernetes target.
Example:
curl -X PATCH "https://api.buddy.works/workspaces/:workspace/targets/:target_id" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"url": "https://api.buddy.works/workspaces/buddy/targets/tg-urraxb87q0fus",
"html_url": "https://app.buddy.works/buddy/targets/tg-urraxb87q0fus/edit",
"id": "tg-urraxb87q0fus",
"identifier": "aks_workspace",
"tags": [
"orange",
"rabsperry",
"olive"
],
"name": "AKS WORKSPACE",
"integration": "AZURE_CLOUD_DEFAULT",
"cluster": "https://192.168.5.226:6443",
"subscription": "Płatność zgodnie z rzeczywistym użyciem",
"resource_group": "buddy",
"type": "AKS"
}'
EXAMPLE RESPONSE{ "id": "tg-fyns8vs8r81v3", "identifier": "aks_workspace", "permissions": { "others": "USE_ONLY", "users": [ { "id": 1, "access_level": "MANAGE" } ] }, "tags": [ "orange", "rabsperry", "olive" ], "name": "AKS WORKSPACE", "integration": "AZURE_CLOUD_DEFAULT", "cluster": "https://192.168.5.226:6443", "subscription": "Płatność zgodnie z rzeczywistym użyciem", "resource_group": "buddy", "type": "AKS" }
STATUS200 OK
LIMITSX-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999