Home
Version 3
Spaces API

Spaces API

Remove Manager from the Space

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

Request

Route

DELETE /v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/managers/uaa-id-90

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.eyJ1c2VyX2lkIjoidWFhLWlkLTkyIiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3MzIzOTU5fQ.oM0eosu9IRLtr4z3QMDJULTNmbmmocEP-yTltdG2VZc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/managers/uaa-id-90" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkyIiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3MzIzOTU5fQ.oM0eosu9IRLtr4z3QMDJULTNmbmmocEP-yTltdG2VZc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "ba74e812-e443-45cd-939b-02b2d06d22bf",
    "url": "/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf",
    "created_at": "2015-03-18T22:52:39Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-239",
    "organization_guid": "8cfa2066-3243-4e99-9913-a5c0c795eded",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/8cfa2066-3243-4e99-9913-a5c0c795eded",
    "developers_url": "/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/developers",
    "managers_url": "/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/managers",
    "auditors_url": "/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/auditors",
    "apps_url": "/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/apps",
    "routes_url": "/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/routes",
    "domains_url": "/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/domains",
    "service_instances_url": "/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/service_instances",
    "app_events_url": "/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/app_events",
    "events_url": "/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/events",
    "security_groups_url": "/v2/spaces/ba74e812-e443-45cd-939b-02b2d06d22bf/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5781f3c2-d159-425b-9db9-e70af4dd364b
Content-Length: 1254
X-Content-Type-Options: nosniff