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.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NCIsImVtYWlsIjoiZW1haWwtMjMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODN9.rr-M0bwsg0GvVgI0FIQww9W3wKwOycgnxTp3W8oB7A4
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/managers/uaa-id-292

cURL

curl "https://api.[your-domain.com]/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/managers/uaa-id-292" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NCIsImVtYWlsIjoiZW1haWwtMjMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODN9.rr-M0bwsg0GvVgI0FIQww9W3wKwOycgnxTp3W8oB7A4" \
	-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: 628a34c1-9323-49c2-82bb-8ba7d50b22ee
Content-Length: 1255
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "9886e59a-6cb7-4b81-8b69-051b7ee1fb4b",
    "url": "/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b",
    "created_at": "2015-01-27T19:14:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1868",
    "organization_guid": "e31c8674-8e13-472d-9088-46b16ca25eaf",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/e31c8674-8e13-472d-9088-46b16ca25eaf",
    "developers_url": "/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/developers",
    "managers_url": "/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/managers",
    "auditors_url": "/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/auditors",
    "apps_url": "/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/apps",
    "routes_url": "/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/routes",
    "domains_url": "/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/domains",
    "service_instances_url": "/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/service_instances",
    "app_events_url": "/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/app_events",
    "events_url": "/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/events",
    "security_groups_url": "/v2/spaces/9886e59a-6cb7-4b81-8b69-051b7ee1fb4b/security_groups"
  }
}