Home
Version 3
Spaces API

Spaces API

Remove Manager from the Space

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

Request

Route

DELETE /v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/managers/uaa-id-146

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.eyJ1c2VyX2lkIjoidWFhLWlkLTE0OCIsImVtYWlsIjoiZW1haWwtMTM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTV9.u9kvS_17Z-ddCRLyVjkCpSfFt5KZFpNmZCd-T3vidZE
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/managers/uaa-id-146" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0OCIsImVtYWlsIjoiZW1haWwtMTM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTV9.u9kvS_17Z-ddCRLyVjkCpSfFt5KZFpNmZCd-T3vidZE" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "041fa0e6-ccd9-4aa9-bcaa-f318f99c9406",
    "url": "/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406",
    "created_at": "2015-05-15T16:53:35Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-771",
    "organization_guid": "a2a70dce-9dbc-4454-86a3-d9c81e66161d",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/a2a70dce-9dbc-4454-86a3-d9c81e66161d",
    "developers_url": "/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/developers",
    "managers_url": "/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/managers",
    "auditors_url": "/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/auditors",
    "apps_url": "/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/apps",
    "routes_url": "/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/routes",
    "domains_url": "/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/domains",
    "service_instances_url": "/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/service_instances",
    "app_events_url": "/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/app_events",
    "events_url": "/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/events",
    "security_groups_url": "/v2/spaces/041fa0e6-ccd9-4aa9-bcaa-f318f99c9406/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: c1ba6255-4ef3-4d52-908d-946affcc60cc
Content-Length: 1277
X-Content-Type-Options: nosniff