Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/developers/uaa-id-101

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

cURL

curl "https://api.[your-domain.com]/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/developers/uaa-id-101" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMyIsImVtYWlsIjoiZW1haWwtNjlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzQ4MDg0NH0.kbnwg5fYzYQTslnAW5DUoEx371RSKMxEE0SJxLOEEuI" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "499b1957-2dd3-48c8-aa6d-42a824c8c192",
    "url": "/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192",
    "created_at": "2015-03-20T18:27:24Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-254",
    "organization_guid": "72edd3f2-c756-49d8-8e7b-51c30090005a",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/72edd3f2-c756-49d8-8e7b-51c30090005a",
    "developers_url": "/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/developers",
    "managers_url": "/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/managers",
    "auditors_url": "/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/auditors",
    "apps_url": "/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/apps",
    "routes_url": "/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/routes",
    "domains_url": "/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/domains",
    "service_instances_url": "/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/service_instances",
    "app_events_url": "/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/app_events",
    "events_url": "/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/events",
    "security_groups_url": "/v2/spaces/499b1957-2dd3-48c8-aa6d-42a824c8c192/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 696b91b2-d601-4675-ad45-796268ddfc6e
Content-Length: 1254
X-Content-Type-Options: nosniff