Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/developers/uaa-id-406

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwOCIsImVtYWlsIjoiZW1haWwtMzA2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4Njd9.-_jESI5Mz8RYR3FjnNNBOHUGRuEmSyD2YRIJthubmGE
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/developers/uaa-id-406" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwOCIsImVtYWlsIjoiZW1haWwtMzA2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4Njd9.-_jESI5Mz8RYR3FjnNNBOHUGRuEmSyD2YRIJthubmGE" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "9eb8c755-df7b-48c6-bd09-7f0eb7073a8f",
    "url": "/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f",
    "created_at": "2015-06-16T23:41:07Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2296",
    "organization_guid": "47588dae-de3c-4398-909c-dd462b6c8129",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/47588dae-de3c-4398-909c-dd462b6c8129",
    "developers_url": "/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/developers",
    "managers_url": "/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/managers",
    "auditors_url": "/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/auditors",
    "apps_url": "/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/apps",
    "routes_url": "/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/routes",
    "domains_url": "/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/domains",
    "service_instances_url": "/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/service_instances",
    "app_events_url": "/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/app_events",
    "events_url": "/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/events",
    "security_groups_url": "/v2/spaces/9eb8c755-df7b-48c6-bd09-7f0eb7073a8f/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: c751c893-5521-4583-9f73-1a05b642d828
Content-Length: 1278
X-Content-Type-Options: nosniff