Home
Version 3
Spaces API

Spaces API

Remove Manager from the Space

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

Request

Route

DELETE /v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/managers/uaa-id-113

Parameters

Name Description Valid Values Example Values
guid The guid of the Space
manager_guid The guid of the manager

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNSIsImVtYWlsIjoiZW1haWwtNjZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzNjgyOTc3OH0._vfwjKRqLU1VcYtdL7v07mUDBOYpfWgxWD2fKUJrJck
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/managers/uaa-id-113" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNSIsImVtYWlsIjoiZW1haWwtNjZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzNjgyOTc3OH0._vfwjKRqLU1VcYtdL7v07mUDBOYpfWgxWD2fKUJrJck" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "c7ee6806-e849-4867-86de-c6bbee434a8f",
    "url": "/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f",
    "created_at": "2015-07-06T23:22:58Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-306",
    "organization_guid": "7bdc93f9-69ea-449f-a5e1-2cf0dc3fff38",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/7bdc93f9-69ea-449f-a5e1-2cf0dc3fff38",
    "developers_url": "/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/developers",
    "managers_url": "/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/managers",
    "auditors_url": "/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/auditors",
    "apps_url": "/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/apps",
    "routes_url": "/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/routes",
    "domains_url": "/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/domains",
    "service_instances_url": "/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/service_instances",
    "app_events_url": "/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/app_events",
    "events_url": "/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/events",
    "security_groups_url": "/v2/spaces/c7ee6806-e849-4867-86de-c6bbee434a8f/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 066249f4-9efd-4fd8-99fa-00ca27b226d7
Content-Length: 1277
X-Content-Type-Options: nosniff