Edit target with YAML
- PATCH
- /workspaces
- /:workspace
- /targets
- /:target_id
- /yaml
Update an existing target by sending a new YAML definition. The PATCH request applies the YAML payload to the target configuration.
Request example
curl -X PATCH "https://api.buddy.works/workspaces/:workspace/targets/:target_id/yaml" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"yaml": "LSB0YXJnZXQ6..."
}'