Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/developers/uaa-id-148

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.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MCIsImVtYWlsIjoiZW1haWwtOTBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTY2NDEzOH0.msqHw-5IMkB-MR03HR7uupjN09lhsxNuBYoi1WP0fBY
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/developers/uaa-id-148" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MCIsImVtYWlsIjoiZW1haWwtOTBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTY2NDEzOH0.msqHw-5IMkB-MR03HR7uupjN09lhsxNuBYoi1WP0fBY" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "8781d61f-2ad4-479f-98ee-323d83c2b440",
    "url": "/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440",
    "created_at": "2015-04-15T00:55:38Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1184",
    "organization_guid": "2b333c25-7001-4c39-b243-767b5c42d16f",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/2b333c25-7001-4c39-b243-767b5c42d16f",
    "developers_url": "/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/developers",
    "managers_url": "/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/managers",
    "auditors_url": "/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/auditors",
    "apps_url": "/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/apps",
    "routes_url": "/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/routes",
    "domains_url": "/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/domains",
    "service_instances_url": "/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/service_instances",
    "app_events_url": "/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/app_events",
    "events_url": "/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/events",
    "security_groups_url": "/v2/spaces/8781d61f-2ad4-479f-98ee-323d83c2b440/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a82c38d0-2310-4e87-a46d-0de91610cda1
Content-Length: 1255
X-Content-Type-Options: nosniff