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.eyJ1c2VyX2lkIjoidWFhLWlkLTI0OCIsImVtYWlsIjoiZW1haWwtMTc1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDd9.vgmnMN_pxwTg660BzmntHUmAa6Tdc_6P-uMy0ie1w_M
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/managers/uaa-id-246

cURL

curl "https://api.[your-domain.com]/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/managers/uaa-id-246" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0OCIsImVtYWlsIjoiZW1haWwtMTc1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDd9.vgmnMN_pxwTg660BzmntHUmAa6Tdc_6P-uMy0ie1w_M" \
	-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: d78925e7-02a2-49bb-8aa7-052b37292a32
Content-Length: 1259
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "30f409e3-35e4-4e6d-889e-70158be49744",
    "url": "/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744",
    "created_at": "2014-11-13T23:38:27+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-826",
    "organization_guid": "04d5d21a-c24b-41e5-af90-aed417bbdf9f",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/04d5d21a-c24b-41e5-af90-aed417bbdf9f",
    "developers_url": "/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/developers",
    "managers_url": "/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/managers",
    "auditors_url": "/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/auditors",
    "apps_url": "/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/apps",
    "routes_url": "/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/routes",
    "domains_url": "/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/domains",
    "service_instances_url": "/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/service_instances",
    "app_events_url": "/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/app_events",
    "events_url": "/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/events",
    "security_groups_url": "/v2/spaces/30f409e3-35e4-4e6d-889e-70158be49744/security_groups"
  }
}