Remove Service Binding from the App
DELETE /v2/apps/:guid/service_bindings/:service_binding_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the App
|
|
|
Request
Headers
Route
DELETE /v2/apps/3809256e-45fa-491f-9957-9e03baece9e6/service_bindings/75796f5d-ec16-4395-84ed-776ef3785bfb
cURL
curl "https://api.[your-domain.com]/v2/apps/3809256e-45fa-491f-9957-9e03baece9e6/service_bindings/75796f5d-ec16-4395-84ed-776ef3785bfb" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MSIsImVtYWlsIjoiZW1haWwtMjU0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzh9.IyN0JuKHycSCHccMN4ko__uQMFCEZpAI98l6g4B1nO4" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "3809256e-45fa-491f-9957-9e03baece9e6",
"url": "/v2/apps/3809256e-45fa-491f-9957-9e03baece9e6",
"created_at": "2015-02-10T01:42:58Z",
"updated_at": "2015-02-10T01:42:58Z"
},
"entity": {
"name": "name-1849",
"production": false,
"space_guid": "536abb76-1e61-45e1-aba8-759098386d2f",
"stack_guid": "77296d75-3f87-4b3a-af50-39d449af177b",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "00d1f7ab-d7d9-49d9-b023-fc057cafd780",
"command": null,
"console": false,
"debug": null,
"staging_task_id": null,
"package_state": "PENDING",
"health_check_type": "port",
"health_check_timeout": null,
"staging_failed_reason": null,
"docker_image": null,
"package_updated_at": "2015-02-10T01:42:58Z",
"detected_start_command": "",
"space_url": "/v2/spaces/536abb76-1e61-45e1-aba8-759098386d2f",
"stack_url": "/v2/stacks/77296d75-3f87-4b3a-af50-39d449af177b",
"events_url": "/v2/apps/3809256e-45fa-491f-9957-9e03baece9e6/events",
"service_bindings_url": "/v2/apps/3809256e-45fa-491f-9957-9e03baece9e6/service_bindings",
"routes_url": "/v2/apps/3809256e-45fa-491f-9957-9e03baece9e6/routes"
}
}