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.eyJ1c2VyX2lkIjoidWFhLWlkLTQ4IiwiZW1haWwiOiJlbWFpbC0zNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYyfQ.456ipcsc-nNNlX1ra5akDIy0pSNYLT-wVZfhNcWnY2E
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/developers/uaa-id-46

cURL

curl "https://api.[your-domain.com]/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/developers/uaa-id-46" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ4IiwiZW1haWwiOiJlbWFpbC0zNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYyfQ.456ipcsc-nNNlX1ra5akDIy0pSNYLT-wVZfhNcWnY2E" \
	-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: 52ae2481-f43b-47b2-82e0-13de4f6af94d
Content-Length: 1258
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "81738a00-69a2-4e5f-a64f-69dab47ec802",
    "url": "/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802",
    "created_at": "2014-12-24T01:39:22+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-91",
    "organization_guid": "852861e7-2c8c-4260-8851-82afeca64961",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/852861e7-2c8c-4260-8851-82afeca64961",
    "developers_url": "/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/developers",
    "managers_url": "/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/managers",
    "auditors_url": "/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/auditors",
    "apps_url": "/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/apps",
    "routes_url": "/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/routes",
    "domains_url": "/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/domains",
    "service_instances_url": "/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/service_instances",
    "app_events_url": "/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/app_events",
    "events_url": "/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/events",
    "security_groups_url": "/v2/spaces/81738a00-69a2-4e5f-a64f-69dab47ec802/security_groups"
  }
}