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.eyJ1c2VyX2lkIjoidWFhLWlkLTM0IiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYyfQ.FA9NxEmsmZlCH5FB6DJbO5TKdOeya-fwB-FJh86xKLQ
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/managers/uaa-id-32

cURL

curl "https://api.[your-domain.com]/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/managers/uaa-id-32" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0IiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYyfQ.FA9NxEmsmZlCH5FB6DJbO5TKdOeya-fwB-FJh86xKLQ" \
	-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: 2b8a0b06-c619-40f7-bb7a-fad6c96eadd6
Content-Length: 1258
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "fe54f783-57c9-4312-a6e6-50746651ac00",
    "url": "/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00",
    "created_at": "2014-12-24T01:39:22+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-66",
    "organization_guid": "28eade4c-704e-4bf8-8f22-26f88a0fd1c9",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/28eade4c-704e-4bf8-8f22-26f88a0fd1c9",
    "developers_url": "/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/developers",
    "managers_url": "/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/managers",
    "auditors_url": "/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/auditors",
    "apps_url": "/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/apps",
    "routes_url": "/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/routes",
    "domains_url": "/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/domains",
    "service_instances_url": "/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/service_instances",
    "app_events_url": "/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/app_events",
    "events_url": "/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/events",
    "security_groups_url": "/v2/spaces/fe54f783-57c9-4312-a6e6-50746651ac00/security_groups"
  }
}