MySQL
- PATCH
- /workspaces
- /:workspace
- /targets
- /:target_id
Update MySQL 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": "MYSQL",
"identifier": "production-db",
"name": "Production MySQL",
"host": "db.example.com",
"port": 3306,
"database": "myapp",
"auth": {
"method": "PASSWORD",
"username": "deploy_user",
"password": "secured"
},
"tags": [
"mysql",
"production"
]
}'STATUS200 OK