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.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MiIsImVtYWlsIjoiZW1haWwtMjg0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDN9.k4zVJCs8IVrj8z2rku6_4khEFApqpUavfG0LRGJ2dco
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/developers/uaa-id-370

cURL

curl "https://api.[your-domain.com]/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/developers/uaa-id-370" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MiIsImVtYWlsIjoiZW1haWwtMjg0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDN9.k4zVJCs8IVrj8z2rku6_4khEFApqpUavfG0LRGJ2dco" \
	-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: 9a8918d9-216b-4776-a51e-7665a4498ff1
Content-Length: 1255
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "51332a6a-71fc-4780-bd9d-4aab33e394b9",
    "url": "/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9",
    "created_at": "2015-02-12T01:42:23Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2039",
    "organization_guid": "685a6952-acc9-42af-bd9f-3ba8d0cd878b",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/685a6952-acc9-42af-bd9f-3ba8d0cd878b",
    "developers_url": "/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/developers",
    "managers_url": "/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/managers",
    "auditors_url": "/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/auditors",
    "apps_url": "/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/apps",
    "routes_url": "/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/routes",
    "domains_url": "/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/domains",
    "service_instances_url": "/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/service_instances",
    "app_events_url": "/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/app_events",
    "events_url": "/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/events",
    "security_groups_url": "/v2/spaces/51332a6a-71fc-4780-bd9d-4aab33e394b9/security_groups"
  }
}