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
Route
DELETE /v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/managers/uaa-id-261
cURL
curl "https://api.[your-domain.com]/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/managers/uaa-id-261" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MyIsImVtYWlsIjoiZW1haWwtMTgyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzJ9.c16kRW4YVJkYtJRo345-9o5sP-ldohF2WD9WnK3FK8A" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "85c469fb-4321-49bd-86b7-520f637d5fc0",
"url": "/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0",
"created_at": "2015-02-10T01:42:52Z",
"updated_at": null
},
"entity": {
"name": "name-1371",
"organization_guid": "fad0f876-a801-4ef4-8a25-9b57183efce1",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/fad0f876-a801-4ef4-8a25-9b57183efce1",
"developers_url": "/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/developers",
"managers_url": "/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/managers",
"auditors_url": "/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/auditors",
"apps_url": "/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/apps",
"routes_url": "/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/routes",
"domains_url": "/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/domains",
"service_instances_url": "/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/service_instances",
"app_events_url": "/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/app_events",
"events_url": "/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/events",
"security_groups_url": "/v2/spaces/85c469fb-4321-49bd-86b7-520f637d5fc0/security_groups"
}
}