Move all Service Instances for the service plan from the URL to the service plan in the request body
PUT /v2/service_plans/088f16bd-f41b-4675-bf91-bfa0792e2ff3/service_instances
Name | Description | Default | Valid Values | Example Values |
---|---|---|---|---|
service_plan_guid | The guid of the plan to move the existing instances to |
|
|
{"service_plan_guid":"292e2eb6-bbd7-425a-926a-5b516c62c13c"}
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OSIsImVtYWlsIjoiZW1haWwtMjUxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Nzd9.m5H7fzBsEu8_6IN_5wGqMlOH-ym0oXAVM8d4MS1NLjo Host: example.org Content-Type: application/x-www-form-urlencoded Cookie:
curl "https://api.[your-domain.com]/v2/service_plans/088f16bd-f41b-4675-bf91-bfa0792e2ff3/service_instances" -d '{"service_plan_guid":"292e2eb6-bbd7-425a-926a-5b516c62c13c"}' -X PUT \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OSIsImVtYWlsIjoiZW1haWwtMjUxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Nzd9.m5H7fzBsEu8_6IN_5wGqMlOH-ym0oXAVM8d4MS1NLjo" \ -H "Host: example.org" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Cookie: "
200 OK
{"changed_count":1}
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 054b41e3-0683-449b-885f-adaee35c621d Content-Length: 19 X-Content-Type-Options: nosniff