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/6e2f054a-8c3c-4ac8-92c2-7270ff3c2369/service_bindings/0e563b49-4b02-4d1b-bb80-aa4d0b90d526
cURL
curl "https://api.[your-domain.com]/v2/apps/6e2f054a-8c3c-4ac8-92c2-7270ff3c2369/service_bindings/0e563b49-4b02-4d1b-bb80-aa4d0b90d526" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MSIsImVtYWlsIjoiZW1haWwtMTAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5Njl9.tgSWDh4cZ_llhL3aem1feEJjJnn7R1B3Elfn055soMY" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "6e2f054a-8c3c-4ac8-92c2-7270ff3c2369",
"url": "/v2/apps/6e2f054a-8c3c-4ac8-92c2-7270ff3c2369",
"created_at": "2014-12-24T01:39:29+00:00",
"updated_at": "2014-12-24T01:39:29+00:00"
},
"entity": {
"name": "name-1264",
"production": false,
"space_guid": "0a5ec48d-00d8-4d96-a273-3f49a52ed6cb",
"stack_guid": "f7fbbaf4-1c04-45fc-a012-8d2ba59167f0",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "2432f041-a788-4940-bd43-3b38420978db",
"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": "2014-12-24T01:39:29+00:00",
"detected_start_command": "",
"space_url": "/v2/spaces/0a5ec48d-00d8-4d96-a273-3f49a52ed6cb",
"stack_url": "/v2/stacks/f7fbbaf4-1c04-45fc-a012-8d2ba59167f0",
"events_url": "/v2/apps/6e2f054a-8c3c-4ac8-92c2-7270ff3c2369/events",
"service_bindings_url": "/v2/apps/6e2f054a-8c3c-4ac8-92c2-7270ff3c2369/service_bindings",
"routes_url": "/v2/apps/6e2f054a-8c3c-4ac8-92c2-7270ff3c2369/routes"
}
}