Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

DELETE /v2/spaces/:guid/developers/:developer_guid

Request

Route

DELETE /v2/spaces/2bd135c1-e143-4276-8575-baee13075196/developers/uaa-id-214

Parameters

Name Description Valid Values Example Values
guid The guid of the Space
developer_guid The guid of the developer

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNiIsImVtYWlsIjoiZW1haWwtMTUzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDV9.ufjOL-NbXuDrrENhHAr_CsjjnglbH0hv9d1PjiT5dDk
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/2bd135c1-e143-4276-8575-baee13075196/developers/uaa-id-214" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNiIsImVtYWlsIjoiZW1haWwtMTUzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDV9.ufjOL-NbXuDrrENhHAr_CsjjnglbH0hv9d1PjiT5dDk" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "2bd135c1-e143-4276-8575-baee13075196",
    "url": "/v2/spaces/2bd135c1-e143-4276-8575-baee13075196",
    "created_at": "2015-08-31T21:50:05Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-809",
    "organization_guid": "41c56811-8cfd-4ad3-a1ce-f63995881dc9",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/41c56811-8cfd-4ad3-a1ce-f63995881dc9",
    "developers_url": "/v2/spaces/2bd135c1-e143-4276-8575-baee13075196/developers",
    "managers_url": "/v2/spaces/2bd135c1-e143-4276-8575-baee13075196/managers",
    "auditors_url": "/v2/spaces/2bd135c1-e143-4276-8575-baee13075196/auditors",
    "apps_url": "/v2/spaces/2bd135c1-e143-4276-8575-baee13075196/apps",
    "routes_url": "/v2/spaces/2bd135c1-e143-4276-8575-baee13075196/routes",
    "domains_url": "/v2/spaces/2bd135c1-e143-4276-8575-baee13075196/domains",
    "service_instances_url": "/v2/spaces/2bd135c1-e143-4276-8575-baee13075196/service_instances",
    "app_events_url": "/v2/spaces/2bd135c1-e143-4276-8575-baee13075196/app_events",
    "events_url": "/v2/spaces/2bd135c1-e143-4276-8575-baee13075196/events",
    "security_groups_url": "/v2/spaces/2bd135c1-e143-4276-8575-baee13075196/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0b4d047b-71a3-47f6-8ec5-70c15625d293
Content-Length: 1277
X-Content-Type-Options: nosniff