Move all Service Instances for the service plan from the URL to the service plan in the request body
PUT /v2/service_plans/3160f5e2-85ad-4ea6-803c-ea6adbe5ef33/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":"dbb44ec9-132e-4303-8082-f12eb6c786a9"}
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMyIsImVtYWlsIjoiZW1haWwtMjgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NjB9._vmOapDdQ6WLXYFkpN_mZoD_owbwYvxNb8iknlrXc0g Host: example.org Content-Type: application/x-www-form-urlencoded Cookie:
curl "https://api.[your-domain.com]/v2/service_plans/3160f5e2-85ad-4ea6-803c-ea6adbe5ef33/service_instances" -d '{"service_plan_guid":"dbb44ec9-132e-4303-8082-f12eb6c786a9"}' -X PUT \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMyIsImVtYWlsIjoiZW1haWwtMjgxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NjB9._vmOapDdQ6WLXYFkpN_mZoD_owbwYvxNb8iknlrXc0g" \ -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: e1148d84-7bb4-4bec-aee2-9a40645e28ed Content-Length: 19 X-Content-Type-Options: nosniff