Remove Manager from the Space
DELETE /v2/spaces/:guid/managers/:manager_guid
Request
Route
DELETE /v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/managers/uaa-id-325
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
manager_guid
|
The guid of the manager
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/managers/uaa-id-325" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNyIsImVtYWlsIjoiZW1haWwtMjI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTB9.MtFgcFG0q3BuC5ITHr0KsK2HjfcOGPZ9MaYwLi8zHkI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "4d295aa0-a240-43ec-8eb9-dbfaa448e83e",
"url": "/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e",
"created_at": "2015-08-06T00:36:50Z",
"updated_at": null
},
"entity": {
"name": "name-1956",
"organization_guid": "48111ccd-d951-424e-b6b3-06c2fba2ffe7",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/48111ccd-d951-424e-b6b3-06c2fba2ffe7",
"developers_url": "/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/developers",
"managers_url": "/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/managers",
"auditors_url": "/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/auditors",
"apps_url": "/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/apps",
"routes_url": "/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/routes",
"domains_url": "/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/domains",
"service_instances_url": "/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/service_instances",
"app_events_url": "/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/app_events",
"events_url": "/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/events",
"security_groups_url": "/v2/spaces/4d295aa0-a240-43ec-8eb9-dbfaa448e83e/security_groups"
}
}
Headers