Home
Version 3
Spaces API

Spaces API

Remove Manager from the Space

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

Request

Route

DELETE /v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/managers/uaa-id-104

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.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNiIsImVtYWlsIjoiZW1haWwtNTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMTY0NjYzMH0.8i5Q6HavVifpNBa69EUyIQVbOrLTXDPji195noPKHhc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/managers/uaa-id-104" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNiIsImVtYWlsIjoiZW1haWwtNTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMTY0NjYzMH0.8i5Q6HavVifpNBa69EUyIQVbOrLTXDPji195noPKHhc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "9841facc-10aa-4a3b-955a-a3c2e72b87fc",
    "url": "/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc",
    "created_at": "2015-05-07T23:37:10Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1011",
    "organization_guid": "6d9cdb74-af77-4b94-a4e9-137905df4482",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/6d9cdb74-af77-4b94-a4e9-137905df4482",
    "developers_url": "/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/developers",
    "managers_url": "/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/managers",
    "auditors_url": "/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/auditors",
    "apps_url": "/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/apps",
    "routes_url": "/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/routes",
    "domains_url": "/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/domains",
    "service_instances_url": "/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/service_instances",
    "app_events_url": "/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/app_events",
    "events_url": "/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/events",
    "security_groups_url": "/v2/spaces/9841facc-10aa-4a3b-955a-a3c2e72b87fc/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ad9b7dcb-b9d6-4414-b808-09b8f33f980e
Content-Length: 1278
X-Content-Type-Options: nosniff