Home
Version 3
Spaces API

Spaces API

Remove Developer from the Space

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

Request

Route

DELETE /v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/developers/uaa-id-73

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.eyJ1c2VyX2lkIjoidWFhLWlkLTc1IiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAwfQ.KeiR-8U8-f1VDgSI0brc4dJOcQZdxVcHz_pRepDKh24
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/developers/uaa-id-73" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc1IiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAwfQ.KeiR-8U8-f1VDgSI0brc4dJOcQZdxVcHz_pRepDKh24" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "cdcd1f93-25ca-4eec-a612-91672976dc89",
    "url": "/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89",
    "created_at": "2015-04-07T19:11:40Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-242",
    "organization_guid": "de2351ea-e584-49bd-85d7-33fb9ff00c9c",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/de2351ea-e584-49bd-85d7-33fb9ff00c9c",
    "developers_url": "/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/developers",
    "managers_url": "/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/managers",
    "auditors_url": "/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/auditors",
    "apps_url": "/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/apps",
    "routes_url": "/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/routes",
    "domains_url": "/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/domains",
    "service_instances_url": "/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/service_instances",
    "app_events_url": "/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/app_events",
    "events_url": "/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/events",
    "security_groups_url": "/v2/spaces/cdcd1f93-25ca-4eec-a612-91672976dc89/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2cbdac07-e434-4ba6-94d9-7fa1d6d0cefa
Content-Length: 1254
X-Content-Type-Options: nosniff