Move all Service Instances for the service plan from the URL to the service plan in the request body
PUT /v2/service_plans/677a62a2-febe-4b5e-852f-d672ac03cd44/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":"5e80b1c6-441a-4885-ac8e-44debe82eb23"}
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MiIsImVtYWlsIjoiZW1haWwtMjk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMjB9.-O2hI2mCjK-EXeFJNq4bCO0p2d-y4Kil1oXi3cfhRI4 Host: example.org Content-Type: application/x-www-form-urlencoded Cookie:
curl "https://api.[your-domain.com]/v2/service_plans/677a62a2-febe-4b5e-852f-d672ac03cd44/service_instances" -d '{"service_plan_guid":"5e80b1c6-441a-4885-ac8e-44debe82eb23"}' -X PUT \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MiIsImVtYWlsIjoiZW1haWwtMjk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMjB9.-O2hI2mCjK-EXeFJNq4bCO0p2d-y4Kil1oXi3cfhRI4" \ -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: 78ae3eb5-fdb7-46ca-9735-c54361999865 Content-Length: 19 X-Content-Type-Options: nosniff