Remove Manager from the Space
DELETE /v2/spaces/:guid/managers/:manager_guid
Request
Route
DELETE /v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/managers/uaa-id-38
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/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/managers/uaa-id-38" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwIiwiZW1haWwiOiJlbWFpbC0yMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM4NjQxNzg3fQ.sNaYauGItCiequSN5rhY3tI9QF40rBU3-YaVDR6O-b8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "86431a38-8155-47ba-b9a1-73a0ccdd6ccc",
"url": "/v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc",
"created_at": "2015-07-27T22:43:07Z",
"updated_at": null
},
"entity": {
"name": "name-91",
"organization_guid": "0031bd08-a27e-45d6-ac32-638660ad152e",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/0031bd08-a27e-45d6-ac32-638660ad152e",
"developers_url": "/v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/developers",
"managers_url": "/v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/managers",
"auditors_url": "/v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/auditors",
"apps_url": "/v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/apps",
"routes_url": "/v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/routes",
"domains_url": "/v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/domains",
"service_instances_url": "/v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/service_instances",
"app_events_url": "/v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/app_events",
"events_url": "/v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/events",
"security_groups_url": "/v2/spaces/86431a38-8155-47ba-b9a1-73a0ccdd6ccc/security_groups"
}
}
Headers