Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/developers/uaa-id-35

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3IiwiZW1haWwiOiJlbWFpbC0yNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ1MzYyMjk2fQ.xyP4E3nOxKODJvwDD-_NWnzZ1SMyXAoukdZsbJZLY_o
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/developers/uaa-id-35" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3IiwiZW1haWwiOiJlbWFpbC0yNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ1MzYyMjk2fQ.xyP4E3nOxKODJvwDD-_NWnzZ1SMyXAoukdZsbJZLY_o" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "fd32e65f-eddf-4df3-a8be-5cff48b2dc55",
    "url": "/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55",
    "created_at": "2015-10-13T17:31:36Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-114",
    "organization_guid": "27b9107a-99e9-4092-9af4-21906e5dbf94",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/27b9107a-99e9-4092-9af4-21906e5dbf94",
    "developers_url": "/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/developers",
    "managers_url": "/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/managers",
    "auditors_url": "/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/auditors",
    "apps_url": "/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/apps",
    "routes_url": "/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/routes",
    "domains_url": "/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/domains",
    "service_instances_url": "/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/service_instances",
    "app_events_url": "/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/app_events",
    "events_url": "/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/events",
    "security_groups_url": "/v2/spaces/fd32e65f-eddf-4df3-a8be-5cff48b2dc55/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 56158ab6-d97a-4a96-9ce9-846877ff1ee3
Content-Length: 1277
X-Content-Type-Options: nosniff