Service Bindings API

Delete a Particular Service Binding

DELETE /v2/service_bindings/:guid?

Request

Route

DELETE /v2/service_bindings/4da23f37-236d-46cb-9dbc-26f45d205c03

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Binding
async Will run the delete request in a background job. Recommended: 'true'.
  • true
  • false
accepts_incomplete Set to `true` if the client allows asynchronous bindings deletion. The cloud controller may respond before the binding is deleted.
  • true
  • false

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzMiIsImVtYWlsIjoiZW1haWwtMjk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDN9.cpNC733-Iaz1DyJy4tQWWclaHaosypxrHVuoWP5IqQ8
Host: example.org
Content-Type: application/json
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/4da23f37-236d-46cb-9dbc-26f45d205c03?accepts_incomplete=false" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzMiIsImVtYWlsIjoiZW1haWwtMjk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDN9.cpNC733-Iaz1DyJy4tQWWclaHaosypxrHVuoWP5IqQ8" \
	-H "Host: example.org" \
	-H "Content-Type: application/json" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: f3a93492-50ea-47de-8bba-f92539d3a709
X-Content-Type-Options: nosniff