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.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNSIsImVtYWlsIjoiZW1haWwtNjlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDQ3MTY4OX0.BAyaUUDibdBdJ2fM5dpsvTsexR-Eb3HRf55jhvE3-6s
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/developers/uaa-id-103

cURL

curl "https://api.[your-domain.com]/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/developers/uaa-id-103" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNSIsImVtYWlsIjoiZW1haWwtNjlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDQ3MTY4OX0.BAyaUUDibdBdJ2fM5dpsvTsexR-Eb3HRf55jhvE3-6s" \
	-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: d7a342f5-e45b-4064-a7a0-abef6a6340ea
Content-Length: 1254
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "407d1939-3982-4209-b5ed-6c42cea755ba",
    "url": "/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba",
    "created_at": "2015-02-13T22:34:49Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-270",
    "organization_guid": "8466a413-8781-47d1-bec7-637cec44835a",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/8466a413-8781-47d1-bec7-637cec44835a",
    "developers_url": "/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/developers",
    "managers_url": "/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/managers",
    "auditors_url": "/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/auditors",
    "apps_url": "/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/apps",
    "routes_url": "/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/routes",
    "domains_url": "/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/domains",
    "service_instances_url": "/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/service_instances",
    "app_events_url": "/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/app_events",
    "events_url": "/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/events",
    "security_groups_url": "/v2/spaces/407d1939-3982-4209-b5ed-6c42cea755ba/security_groups"
  }
}