Home
Version 3
Spaces API

Spaces API

Remove Manager from the Space

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

Request

Route

DELETE /v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/managers/uaa-id-229

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.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMSIsImVtYWlsIjoiZW1haWwtMTYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Njh9.CV-KaTAqCtZajBP-B-i3RNX0IGLAlAOoo8oiilSosts
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/managers/uaa-id-229" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMSIsImVtYWlsIjoiZW1haWwtMTYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Njh9.CV-KaTAqCtZajBP-B-i3RNX0IGLAlAOoo8oiilSosts" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "47001f47-ee2c-4e7b-8b1b-c7ce164827d8",
    "url": "/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8",
    "created_at": "2015-03-03T00:51:08Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1306",
    "organization_guid": "cd6de653-6ba4-4200-851d-69e12a8f97d7",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/cd6de653-6ba4-4200-851d-69e12a8f97d7",
    "developers_url": "/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/developers",
    "managers_url": "/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/managers",
    "auditors_url": "/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/auditors",
    "apps_url": "/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/apps",
    "routes_url": "/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/routes",
    "domains_url": "/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/domains",
    "service_instances_url": "/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/service_instances",
    "app_events_url": "/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/app_events",
    "events_url": "/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/events",
    "security_groups_url": "/v2/spaces/47001f47-ee2c-4e7b-8b1b-c7ce164827d8/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8e60989b-5b72-4bc0-a138-ef986196a068
Content-Length: 1255
X-Content-Type-Options: nosniff