Home
Version 3
Spaces API

Spaces API

Remove Manager from the Space

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

Request

Route

DELETE /v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/managers/uaa-id-39

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxIiwiZW1haWwiOiJlbWFpbC0yMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQyNjAxNTI2fQ.oev-1aUewd2Fm2In5hwDonb-xdr6woNVZcLyuyt8pEE
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/managers/uaa-id-39" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxIiwiZW1haWwiOiJlbWFpbC0yMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQyNjAxNTI2fQ.oev-1aUewd2Fm2In5hwDonb-xdr6woNVZcLyuyt8pEE" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "974bd9a4-c793-48b4-8ecf-e546a93ed869",
    "url": "/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869",
    "created_at": "2015-09-11T18:38:46Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-76",
    "organization_guid": "3c77eeaa-edd9-4f9d-b1de-b68b90cafc6d",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/3c77eeaa-edd9-4f9d-b1de-b68b90cafc6d",
    "developers_url": "/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/developers",
    "managers_url": "/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/managers",
    "auditors_url": "/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/auditors",
    "apps_url": "/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/apps",
    "routes_url": "/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/routes",
    "domains_url": "/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/domains",
    "service_instances_url": "/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/service_instances",
    "app_events_url": "/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/app_events",
    "events_url": "/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/events",
    "security_groups_url": "/v2/spaces/974bd9a4-c793-48b4-8ecf-e546a93ed869/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 3df55200-858d-4466-9ca3-46673e8810f3
Content-Length: 1276
X-Content-Type-Options: nosniff