Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/developers/uaa-id-39

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxIiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTIwfQ.uXOE4EM-4xBn5FQV3Ed0kEmojuDvWTolspJsssaGD4w
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/developers/uaa-id-39" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxIiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTIwfQ.uXOE4EM-4xBn5FQV3Ed0kEmojuDvWTolspJsssaGD4w" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "89d8c601-0049-46c3-8977-f52e385460c6",
    "url": "/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6",
    "created_at": "2015-10-07T00:35:20Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-105",
    "organization_guid": "bd89c518-3f7a-4061-85b3-1ce0a75b016a",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/bd89c518-3f7a-4061-85b3-1ce0a75b016a",
    "developers_url": "/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/developers",
    "managers_url": "/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/managers",
    "auditors_url": "/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/auditors",
    "apps_url": "/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/apps",
    "routes_url": "/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/routes",
    "domains_url": "/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/domains",
    "service_instances_url": "/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/service_instances",
    "app_events_url": "/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/app_events",
    "events_url": "/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/events",
    "security_groups_url": "/v2/spaces/89d8c601-0049-46c3-8977-f52e385460c6/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6e5122de-1dfa-431a-9b6c-46bb1781880a
Content-Length: 1277
X-Content-Type-Options: nosniff