Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/developers/uaa-id-207

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

cURL

curl "https://api.[your-domain.com]/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/developers/uaa-id-207" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOSIsImVtYWlsIjoiZW1haWwtMTMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMDd9.JOnVYsHxnpWVs7tzdmnbCLFuxqkL9eddAdvX229bj70" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "1050020b-769a-4a83-8c93-cd7f45864594",
    "url": "/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594",
    "created_at": "2015-06-04T00:05:07Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1422",
    "organization_guid": "fe6e9448-3b3a-4fe1-a99e-963fb31b50b2",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/fe6e9448-3b3a-4fe1-a99e-963fb31b50b2",
    "developers_url": "/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/developers",
    "managers_url": "/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/managers",
    "auditors_url": "/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/auditors",
    "apps_url": "/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/apps",
    "routes_url": "/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/routes",
    "domains_url": "/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/domains",
    "service_instances_url": "/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/service_instances",
    "app_events_url": "/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/app_events",
    "events_url": "/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/events",
    "security_groups_url": "/v2/spaces/1050020b-769a-4a83-8c93-cd7f45864594/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7628352e-e991-4c4d-aa5e-b8048f67e064
Content-Length: 1278
X-Content-Type-Options: nosniff