Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/83ed3628-6631-4d43-9401-d05377487662/developers/uaa-id-206

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

cURL

curl "https://api.[your-domain.com]/v2/spaces/83ed3628-6631-4d43-9401-d05377487662/developers/uaa-id-206" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOCIsImVtYWlsIjoiZW1haWwtMTUzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Njh9.E1oAfLYxiis23Q-d0YOw_82mbn91t65oF3RB51zR2t0" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "83ed3628-6631-4d43-9401-d05377487662",
    "url": "/v2/spaces/83ed3628-6631-4d43-9401-d05377487662",
    "created_at": "2015-03-03T00:51:08Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1272",
    "organization_guid": "3c10688a-042a-4e5a-a49c-c0fc32a13838",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/3c10688a-042a-4e5a-a49c-c0fc32a13838",
    "developers_url": "/v2/spaces/83ed3628-6631-4d43-9401-d05377487662/developers",
    "managers_url": "/v2/spaces/83ed3628-6631-4d43-9401-d05377487662/managers",
    "auditors_url": "/v2/spaces/83ed3628-6631-4d43-9401-d05377487662/auditors",
    "apps_url": "/v2/spaces/83ed3628-6631-4d43-9401-d05377487662/apps",
    "routes_url": "/v2/spaces/83ed3628-6631-4d43-9401-d05377487662/routes",
    "domains_url": "/v2/spaces/83ed3628-6631-4d43-9401-d05377487662/domains",
    "service_instances_url": "/v2/spaces/83ed3628-6631-4d43-9401-d05377487662/service_instances",
    "app_events_url": "/v2/spaces/83ed3628-6631-4d43-9401-d05377487662/app_events",
    "events_url": "/v2/spaces/83ed3628-6631-4d43-9401-d05377487662/events",
    "security_groups_url": "/v2/spaces/83ed3628-6631-4d43-9401-d05377487662/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 844482be-fc39-4db3-ad69-88550becc257
Content-Length: 1255
X-Content-Type-Options: nosniff