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/318ec222-9f8a-447c-8294-fee06f32945d/service_bindings/ff0fbb24-a8ef-4077-891d-3d76e4597830
cURL
curl "https://api.[your-domain.com]/v2/apps/318ec222-9f8a-447c-8294-fee06f32945d/service_bindings/ff0fbb24-a8ef-4077-891d-3d76e4597830" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNSIsImVtYWlsIjoiZW1haWwtMjI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDV9.N53xO0xddEcC9MAu2BFkgShgEuWH0rIIitl-OO7RnPw" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "318ec222-9f8a-447c-8294-fee06f32945d",
"url": "/v2/apps/318ec222-9f8a-447c-8294-fee06f32945d",
"created_at": "2015-02-13T22:35:05Z",
"updated_at": "2015-02-13T22:35:05Z"
},
"entity": {
"name": "name-1832",
"production": false,
"space_guid": "99cfbba3-693c-4397-8c2a-b4e1f3691d15",
"stack_guid": "3d9db2f0-47a6-45c2-a352-d30f0a0f4dd9",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "ecf63661-ca1c-40eb-b3c6-4f8764f86718",
"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,
"diego": false,
"docker_image": null,
"package_updated_at": "2015-02-13T22:35:05Z",
"detected_start_command": "",
"space_url": "/v2/spaces/99cfbba3-693c-4397-8c2a-b4e1f3691d15",
"stack_url": "/v2/stacks/3d9db2f0-47a6-45c2-a352-d30f0a0f4dd9",
"events_url": "/v2/apps/318ec222-9f8a-447c-8294-fee06f32945d/events",
"service_bindings_url": "/v2/apps/318ec222-9f8a-447c-8294-fee06f32945d/service_bindings",
"routes_url": "/v2/apps/318ec222-9f8a-447c-8294-fee06f32945d/routes"
}
}