cyborg/doc/api_samples/deployables/deployable-patch-curl.json
Yumeng Bao f30066b1b1 Add deployables to api-ref
This patch adds the deployables api to api-ref

Change-Id: I8d5612c0e553e132efad3ed6ad75a4093719db88
2019-04-02 01:45:04 -07:00

11 lines
425 B
JSON

curl -g -i -X PATCH $cyborg_endpoint_url/deployables/uuid \
-H "Accept: applicatiapplication/json" \
-H "OpenStack-API-Version: container-infra latest" \
-H "User-Agent: None" \
-H "X-Auth-Token: your_token" \
-d '
[{"op": "replace", "path": "/assignable", "value": "false"},
{"op": "remove", "path": "/root_uuid"},
{"op": "add", "path": "/parent_uuid",
"value": "155b5100-eaf3-4441-8694-ae17c82eddcb"}]'