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

Route

DELETE /v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/developers/uaa-id-234

cURL

curl "https://api.[your-domain.com]/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/developers/uaa-id-234" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNiIsImVtYWlsIjoiZW1haWwtMTcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDd9.-A5opBNWO4JEX8EimKHb3g3QP5ZNGRYQDfl34NiAc6E" \
	-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: 011acd68-82c5-401d-a6ad-aff6203f3b6d
Content-Length: 1259
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "4010f873-e44c-42c8-8edb-cc9df7d25d10",
    "url": "/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10",
    "created_at": "2014-11-13T23:38:27+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-810",
    "organization_guid": "af5cb51e-523e-4208-bd37-ee02ee3ab5ac",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/af5cb51e-523e-4208-bd37-ee02ee3ab5ac",
    "developers_url": "/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/developers",
    "managers_url": "/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/managers",
    "auditors_url": "/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/auditors",
    "apps_url": "/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/apps",
    "routes_url": "/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/routes",
    "domains_url": "/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/domains",
    "service_instances_url": "/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/service_instances",
    "app_events_url": "/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/app_events",
    "events_url": "/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/events",
    "security_groups_url": "/v2/spaces/4010f873-e44c-42c8-8edb-cc9df7d25d10/security_groups"
  }
}