Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/developers/uaa-id-340

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MiIsImVtYWlsIjoiZW1haWwtMjM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTB9.8GF_ww8F7SIWnOP3IbRvW1j4QrDd5A16_R3iiCTP4rM
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/developers/uaa-id-340" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MiIsImVtYWlsIjoiZW1haWwtMjM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTB9.8GF_ww8F7SIWnOP3IbRvW1j4QrDd5A16_R3iiCTP4rM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "a064efa1-43e9-4fcf-b91a-887b799a44d0",
    "url": "/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0",
    "created_at": "2015-08-06T00:36:50Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1988",
    "organization_guid": "045f61c8-4004-4b25-bca8-a6aa58455e4a",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/045f61c8-4004-4b25-bca8-a6aa58455e4a",
    "developers_url": "/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/developers",
    "managers_url": "/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/managers",
    "auditors_url": "/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/auditors",
    "apps_url": "/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/apps",
    "routes_url": "/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/routes",
    "domains_url": "/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/domains",
    "service_instances_url": "/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/service_instances",
    "app_events_url": "/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/app_events",
    "events_url": "/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/events",
    "security_groups_url": "/v2/spaces/a064efa1-43e9-4fcf-b91a-887b799a44d0/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2dd13181-01ac-41bd-bed5-2e6bec9e5f8d
Content-Length: 1278
X-Content-Type-Options: nosniff