Move all Service Instances for the service plan from the URL to the service plan in the request body
PUT /v2/service_plans/d9549411-0588-47af-b781-cd4e436efbaa/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":"69b90d34-3b46-4b73-a7d3-88f1d1e4457f"}
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2OCIsImVtYWlsIjoiZW1haWwtMzM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1NDF9.apoQLsa8B5u9NAWxIGkyJB58hw14SAEo_3YxxHZ73e4 Host: example.org Content-Type: application/x-www-form-urlencoded Cookie:
curl "https://api.[your-domain.com]/v2/service_plans/d9549411-0588-47af-b781-cd4e436efbaa/service_instances" -d '{"service_plan_guid":"69b90d34-3b46-4b73-a7d3-88f1d1e4457f"}' -X PUT \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2OCIsImVtYWlsIjoiZW1haWwtMzM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1NDF9.apoQLsa8B5u9NAWxIGkyJB58hw14SAEo_3YxxHZ73e4" \ -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: Content-Length: 19 X-Content-Type-Options: nosniff