Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/developers/uaa-id-21

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzIiwiZW1haWwiOiJlbWFpbC0xNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQyNjAxNTI1fQ.aaa6g7q_j6Ly03ZVhZgJeYnmtMTLzWzBDU3tFPC7jJg
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/developers/uaa-id-21" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzIiwiZW1haWwiOiJlbWFpbC0xNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQyNjAxNTI1fQ.aaa6g7q_j6Ly03ZVhZgJeYnmtMTLzWzBDU3tFPC7jJg" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "ac361390-e395-4640-8fd8-6c92b3747893",
    "url": "/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893",
    "created_at": "2015-09-11T18:38:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-47",
    "organization_guid": "3f99beab-891e-42ab-ac6b-caa8130a06ba",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/3f99beab-891e-42ab-ac6b-caa8130a06ba",
    "developers_url": "/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/developers",
    "managers_url": "/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/managers",
    "auditors_url": "/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/auditors",
    "apps_url": "/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/apps",
    "routes_url": "/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/routes",
    "domains_url": "/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/domains",
    "service_instances_url": "/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/service_instances",
    "app_events_url": "/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/app_events",
    "events_url": "/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/events",
    "security_groups_url": "/v2/spaces/ac361390-e395-4640-8fd8-6c92b3747893/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 89b8ac91-bef2-43ad-be51-f550c86e2632
Content-Length: 1276
X-Content-Type-Options: nosniff