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.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NCIsImVtYWlsIjoiZW1haWwtMjIwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTF9.zK8IIMGqAJppNwE1EpXhssMS_pF9ZKshQhq-TkqGUwI
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/managers/uaa-id-282

cURL

curl "https://api.[your-domain.com]/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/managers/uaa-id-282" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NCIsImVtYWlsIjoiZW1haWwtMjIwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTF9.zK8IIMGqAJppNwE1EpXhssMS_pF9ZKshQhq-TkqGUwI" \
	-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: 0c0e7282-64d7-4e4f-ac0d-452bf0decc7f
Content-Length: 1260
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "ccdaa608-3860-42fe-a3df-7e1230a451b7",
    "url": "/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7",
    "created_at": "2015-01-20T01:52:31+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1842",
    "organization_guid": "bbbbc92b-6ff2-4173-acef-132bc30dfbfe",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/bbbbc92b-6ff2-4173-acef-132bc30dfbfe",
    "developers_url": "/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/developers",
    "managers_url": "/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/managers",
    "auditors_url": "/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/auditors",
    "apps_url": "/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/apps",
    "routes_url": "/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/routes",
    "domains_url": "/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/domains",
    "service_instances_url": "/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/service_instances",
    "app_events_url": "/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/app_events",
    "events_url": "/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/events",
    "security_groups_url": "/v2/spaces/ccdaa608-3860-42fe-a3df-7e1230a451b7/security_groups"
  }
}