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.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MCIsImVtYWlsIjoiZW1haWwtMjc5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDN9.TZfmmZLP6mSQNA1hwe98y0f5IKzcIYbGb_8P-AOdDRQ
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/managers/uaa-id-358

cURL

curl "https://api.[your-domain.com]/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/managers/uaa-id-358" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MCIsImVtYWlsIjoiZW1haWwtMjc5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDN9.TZfmmZLP6mSQNA1hwe98y0f5IKzcIYbGb_8P-AOdDRQ" \
	-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: df031bf4-6676-4a32-9808-692555fa6064
Content-Length: 1255
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "7b962b8e-05a2-4334-8ea7-54acb0494c8b",
    "url": "/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b",
    "created_at": "2015-02-12T01:42:23Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2024",
    "organization_guid": "029a4a8a-33e0-42b5-9a14-9070bbaf6ff4",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/029a4a8a-33e0-42b5-9a14-9070bbaf6ff4",
    "developers_url": "/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/developers",
    "managers_url": "/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/managers",
    "auditors_url": "/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/auditors",
    "apps_url": "/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/apps",
    "routes_url": "/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/routes",
    "domains_url": "/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/domains",
    "service_instances_url": "/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/service_instances",
    "app_events_url": "/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/app_events",
    "events_url": "/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/events",
    "security_groups_url": "/v2/spaces/7b962b8e-05a2-4334-8ea7-54acb0494c8b/security_groups"
  }
}