Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/developers/uaa-id-247

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

cURL

curl "https://api.[your-domain.com]/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/developers/uaa-id-247" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0OSIsImVtYWlsIjoiZW1haWwtMTgyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NTB9.nByN_EDS5rOATG8ydIak_nk0o7kpXzTcu-wyGEftFs8" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "6e291ecc-933d-4073-adda-816edf9ce0c7",
    "url": "/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7",
    "created_at": "2015-03-05T19:15:50Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-740",
    "organization_guid": "9d535470-8f07-433b-bc91-1f08dd5007ec",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/9d535470-8f07-433b-bc91-1f08dd5007ec",
    "developers_url": "/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/developers",
    "managers_url": "/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/managers",
    "auditors_url": "/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/auditors",
    "apps_url": "/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/apps",
    "routes_url": "/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/routes",
    "domains_url": "/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/domains",
    "service_instances_url": "/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/service_instances",
    "app_events_url": "/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/app_events",
    "events_url": "/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/events",
    "security_groups_url": "/v2/spaces/6e291ecc-933d-4073-adda-816edf9ce0c7/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 74d7db3f-a8c8-462a-b24a-912e9da46087
Content-Length: 1254
X-Content-Type-Options: nosniff