Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/developers/uaa-id-76

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

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

cURL

curl "https://api.[your-domain.com]/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/developers/uaa-id-76" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc4IiwiZW1haWwiOiJlbWFpbC01M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3MzIzOTU5fQ.CI176hyNe4Fe7OSZMWLlL98RMsDYasSMaPdMHTLsKaA" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "1cfde73e-367d-4df4-84cd-eef429abcfd9",
    "url": "/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9",
    "created_at": "2015-03-18T22:52:38Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-208",
    "organization_guid": "e0038ae9-0231-45a4-ae0f-ac7338f83151",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/e0038ae9-0231-45a4-ae0f-ac7338f83151",
    "developers_url": "/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/developers",
    "managers_url": "/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/managers",
    "auditors_url": "/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/auditors",
    "apps_url": "/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/apps",
    "routes_url": "/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/routes",
    "domains_url": "/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/domains",
    "service_instances_url": "/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/service_instances",
    "app_events_url": "/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/app_events",
    "events_url": "/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/events",
    "security_groups_url": "/v2/spaces/1cfde73e-367d-4df4-84cd-eef429abcfd9/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d699c7b5-b1a3-45ac-bb45-3c3d8637273e
Content-Length: 1254
X-Content-Type-Options: nosniff