Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MSIsImVtYWlsIjoiZW1haWwtMTg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzN9.EAkeCUMQbt5mBlFSEf-M-AKcPWuJFdLQETLOmknivrk
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/developers/uaa-id-279

cURL

curl "https://api.[your-domain.com]/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/developers/uaa-id-279" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MSIsImVtYWlsIjoiZW1haWwtMTg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzN9.EAkeCUMQbt5mBlFSEf-M-AKcPWuJFdLQETLOmknivrk" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a9cdecbb-4b84-4475-8c84-2f56fe553dd6
Content-Length: 1255
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "9627c1de-8e54-4517-8ef6-7f3276223558",
    "url": "/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558",
    "created_at": "2015-02-10T01:42:52Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1389",
    "organization_guid": "8ac11609-0156-484b-83b4-f025ae6f5ae3",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/8ac11609-0156-484b-83b4-f025ae6f5ae3",
    "developers_url": "/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/developers",
    "managers_url": "/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/managers",
    "auditors_url": "/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/auditors",
    "apps_url": "/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/apps",
    "routes_url": "/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/routes",
    "domains_url": "/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/domains",
    "service_instances_url": "/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/service_instances",
    "app_events_url": "/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/app_events",
    "events_url": "/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/events",
    "security_groups_url": "/v2/spaces/9627c1de-8e54-4517-8ef6-7f3276223558/security_groups"
  }
}