Export target
- GET
- /workspaces
- /:workspace
- /targets
- /:target_id
- /yaml
Export the configuration of a single target as YAML, ready to keep in a repository or reuse when creating another target.
Request example
CURL
curl -X GET "https://api.buddy.works/workspaces/:workspace/targets/:target_id/yaml" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json"
EXAMPLE RESPONSE
{
"yaml": "LSB0YXJnZXQ6..."
}STATUS
200 OK