Home
Version 3
Spaces API

Spaces API

Remove Manager from the Space

DELETE /v2/spaces/:guid/managers/:manager_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.eyJ1c2VyX2lkIjoidWFhLWlkLTI5OCIsImVtYWlsIjoiZW1haWwtMjIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNjh9.Ebi19z_FLW0Fp6mDyIYFFc071eC3vB7pBEVJUyKWwlQ
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/managers/uaa-id-296

cURL

curl "https://api.[your-domain.com]/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/managers/uaa-id-296" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5OCIsImVtYWlsIjoiZW1haWwtMjIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNjh9.Ebi19z_FLW0Fp6mDyIYFFc071eC3vB7pBEVJUyKWwlQ" \
	-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: 6a642264-989d-4f06-ab40-c62142b8decb
Content-Length: 1260
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "e71c64b0-6557-40f9-be35-9c8046ecb897",
    "url": "/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897",
    "created_at": "2014-11-24T19:32:48+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1019",
    "organization_guid": "92a33c51-fa2a-4ca6-864c-82e471c7622a",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/92a33c51-fa2a-4ca6-864c-82e471c7622a",
    "developers_url": "/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/developers",
    "managers_url": "/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/managers",
    "auditors_url": "/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/auditors",
    "apps_url": "/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/apps",
    "routes_url": "/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/routes",
    "domains_url": "/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/domains",
    "service_instances_url": "/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/service_instances",
    "app_events_url": "/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/app_events",
    "events_url": "/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/events",
    "security_groups_url": "/v2/spaces/e71c64b0-6557-40f9-be35-9c8046ecb897/security_groups"
  }
}