Home
Version 3
Spaces API

Spaces API

Remove Manager from the Space

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

Request

Route

DELETE /v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/managers/uaa-id-402

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.eyJ1c2VyX2lkIjoidWFhLWlkLTQwNCIsImVtYWlsIjoiZW1haWwtMzAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzUwMDB9.eo-dU8CdGowd2_hnhefyBmasdEW-_u5LDhxJzxdJucc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/managers/uaa-id-402" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwNCIsImVtYWlsIjoiZW1haWwtMzAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzUwMDB9.eo-dU8CdGowd2_hnhefyBmasdEW-_u5LDhxJzxdJucc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "8ce7f112-4612-4f7c-8621-a9c2f6c98196",
    "url": "/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196",
    "created_at": "2015-05-21T01:03:20Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2278",
    "organization_guid": "b5976fab-4505-40c7-9c5b-239825010ce0",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/b5976fab-4505-40c7-9c5b-239825010ce0",
    "developers_url": "/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/developers",
    "managers_url": "/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/managers",
    "auditors_url": "/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/auditors",
    "apps_url": "/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/apps",
    "routes_url": "/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/routes",
    "domains_url": "/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/domains",
    "service_instances_url": "/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/service_instances",
    "app_events_url": "/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/app_events",
    "events_url": "/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/events",
    "security_groups_url": "/v2/spaces/8ce7f112-4612-4f7c-8621-a9c2f6c98196/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 030a3c0e-48ac-480a-be52-bf9f3c7f5029
Content-Length: 1278
X-Content-Type-Options: nosniff