Home
Version 3
Spaces API

Spaces API

Remove Manager from the Space

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

Request

Route

DELETE /v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/managers/uaa-id-205

Parameters

Name Description Valid Values Example Values
guid The guid of the Space
manager_guid The guid of the manager

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNyIsImVtYWlsIjoiZW1haWwtMTE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NDF9.-I8eWHSlQ09bl7y2sBtPcJRK2kYgWTKOkL4H1qc5Neg
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/managers/uaa-id-205" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNyIsImVtYWlsIjoiZW1haWwtMTE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NDF9.-I8eWHSlQ09bl7y2sBtPcJRK2kYgWTKOkL4H1qc5Neg" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "0ff2c3f6-55ba-4095-9968-981fcefb5c0c",
    "url": "/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c",
    "created_at": "2015-10-15T23:52:21Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1423",
    "organization_guid": "f91df99c-9e63-4156-bad1-edfdbf05405b",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/f91df99c-9e63-4156-bad1-edfdbf05405b",
    "developers_url": "/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/developers",
    "managers_url": "/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/managers",
    "auditors_url": "/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/auditors",
    "apps_url": "/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/apps",
    "routes_url": "/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/routes",
    "domains_url": "/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/domains",
    "service_instances_url": "/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/service_instances",
    "app_events_url": "/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/app_events",
    "events_url": "/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/events",
    "security_groups_url": "/v2/spaces/0ff2c3f6-55ba-4095-9968-981fcefb5c0c/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 48e7ce2b-6a5b-413f-b89c-156b9537ff79
Content-Length: 1278
X-Content-Type-Options: nosniff