Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/developers/uaa-id-27

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5IiwiZW1haWwiOiJlbWFpbC0xNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM4NjQxNzg3fQ._ia9239fWa2eJLRUYtfgfxPofVcJSCklemNN1IPS-Dw
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/developers/uaa-id-27" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5IiwiZW1haWwiOiJlbWFpbC0xNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM4NjQxNzg3fQ._ia9239fWa2eJLRUYtfgfxPofVcJSCklemNN1IPS-Dw" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "6f96573d-dacc-4551-b74a-ddfccd502552",
    "url": "/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552",
    "created_at": "2015-07-27T22:43:07Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-74",
    "organization_guid": "d893bbcc-d02e-4fcd-ac99-c815d5fbbf0a",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/d893bbcc-d02e-4fcd-ac99-c815d5fbbf0a",
    "developers_url": "/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/developers",
    "managers_url": "/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/managers",
    "auditors_url": "/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/auditors",
    "apps_url": "/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/apps",
    "routes_url": "/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/routes",
    "domains_url": "/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/domains",
    "service_instances_url": "/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/service_instances",
    "app_events_url": "/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/app_events",
    "events_url": "/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/events",
    "security_groups_url": "/v2/spaces/6f96573d-dacc-4551-b74a-ddfccd502552/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9704a955-f3c9-4393-8999-fb5cf2385b4f
Content-Length: 1276
X-Content-Type-Options: nosniff