Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/developers/uaa-id-86

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg4IiwiZW1haWwiOiJlbWFpbC01M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM2ODI5Nzc3fQ.2BysWeL4kl0OCcr9n-BEEUfhryDxVMGSMR7piUM09TA
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/developers/uaa-id-86" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg4IiwiZW1haWwiOiJlbWFpbC01M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM2ODI5Nzc3fQ.2BysWeL4kl0OCcr9n-BEEUfhryDxVMGSMR7piUM09TA" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "910d1b41-3236-4e3b-8990-a69dbe99978f",
    "url": "/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f",
    "created_at": "2015-07-06T23:22:57Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-260",
    "organization_guid": "bf846f1a-58dd-4e39-a4fc-8cea1f15f439",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/bf846f1a-58dd-4e39-a4fc-8cea1f15f439",
    "developers_url": "/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/developers",
    "managers_url": "/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/managers",
    "auditors_url": "/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/auditors",
    "apps_url": "/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/apps",
    "routes_url": "/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/routes",
    "domains_url": "/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/domains",
    "service_instances_url": "/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/service_instances",
    "app_events_url": "/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/app_events",
    "events_url": "/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/events",
    "security_groups_url": "/v2/spaces/910d1b41-3236-4e3b-8990-a69dbe99978f/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 1f57a4d8-ee10-40e7-ac1c-114da1c1c700
Content-Length: 1277
X-Content-Type-Options: nosniff