Move all Service Instances for the service plan from the URL to the service plan in the request body
PUT /v2/service_plans/ed66be44-0c9d-40f9-93b9-4e9c062a345c/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":"8234565b-70d1-41cc-ac11-783694c35d15"}
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU1IiwiZW1haWwiOiJlbWFpbC0zNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM4NjQxNzg5fQ.Rrr-jxiWGqTIGZvaBKuYg8Vb-OYmQ2WuBe3WlfnVjBM Host: example.org Content-Type: application/x-www-form-urlencoded Cookie:
curl "https://api.[your-domain.com]/v2/service_plans/ed66be44-0c9d-40f9-93b9-4e9c062a345c/service_instances" -d '{"service_plan_guid":"8234565b-70d1-41cc-ac11-783694c35d15"}' -X PUT \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU1IiwiZW1haWwiOiJlbWFpbC0zNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM4NjQxNzg5fQ.Rrr-jxiWGqTIGZvaBKuYg8Vb-OYmQ2WuBe3WlfnVjBM" \ -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: defe93bc-6c7a-491a-b628-ac28efcd20f1 Content-Length: 19 X-Content-Type-Options: nosniff