Home
Version 3
Spaces API

Spaces API

Remove Manager from the Space

DELETE /v2/spaces/:guid/managers/:manager_guid

Request

Route

DELETE /v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/managers/uaa-id-220

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

cURL

curl "https://api.[your-domain.com]/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/managers/uaa-id-220" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMiIsImVtYWlsIjoiZW1haWwtMTY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDl9.wvylICUPUUc5x6PKim8eUMSnEBADCVvLCq4Ys1NiTjo" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "990d3a07-c757-4675-8382-b6b876a75a0b",
    "url": "/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b",
    "created_at": "2015-03-05T19:15:49Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-691",
    "organization_guid": "50964f7b-47a6-4044-8e67-f9f9a19c9573",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/50964f7b-47a6-4044-8e67-f9f9a19c9573",
    "developers_url": "/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/developers",
    "managers_url": "/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/managers",
    "auditors_url": "/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/auditors",
    "apps_url": "/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/apps",
    "routes_url": "/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/routes",
    "domains_url": "/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/domains",
    "service_instances_url": "/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/service_instances",
    "app_events_url": "/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/app_events",
    "events_url": "/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/events",
    "security_groups_url": "/v2/spaces/990d3a07-c757-4675-8382-b6b876a75a0b/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 3acc2eee-3410-47a5-94f2-73f7f18af68e
Content-Length: 1254
X-Content-Type-Options: nosniff