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

Route

DELETE /v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/developers/uaa-id-174

cURL

curl "https://api.[your-domain.com]/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/developers/uaa-id-174" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NiIsImVtYWlsIjoiZW1haWwtMTMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxMzh9.7PlX3RJ8HuEtAvr1zHtTqVT2vMqgDDgJRedZrle58fc" \
	-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: 8681d956-e727-434f-810d-d1b8ed183b10
Content-Length: 1259
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0",
    "url": "/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0",
    "created_at": "2014-11-05T01:02:18+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-701",
    "organization_guid": "d4c49c8b-c45e-417c-bf18-d95f71d1f472",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/d4c49c8b-c45e-417c-bf18-d95f71d1f472",
    "developers_url": "/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/developers",
    "managers_url": "/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/managers",
    "auditors_url": "/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/auditors",
    "apps_url": "/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/apps",
    "routes_url": "/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/routes",
    "domains_url": "/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/domains",
    "service_instances_url": "/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/service_instances",
    "app_events_url": "/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/app_events",
    "events_url": "/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/events",
    "security_groups_url": "/v2/spaces/de1e2de5-0a64-4c67-8e63-6e0a4c1ca5e0/security_groups"
  }
}