Remove Manager from the Space
DELETE /v2/spaces/:guid/managers/:manager_guid
Request
Route
DELETE /v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/managers/uaa-id-383
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/managers/uaa-id-383" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NSIsImVtYWlsIjoiZW1haWwtMjk3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NjZ9.S6EUD26czjGok_JViOkqJCPzxCrb4hLdUjJgmTmEaxM" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "ef766062-a6a2-47f2-abe6-edc18e0b7518",
"url": "/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518",
"created_at": "2015-06-16T23:41:06Z",
"updated_at": null
},
"entity": {
"name": "name-2269",
"organization_guid": "823f1c6d-ad57-452c-b213-887fe0358960",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/823f1c6d-ad57-452c-b213-887fe0358960",
"developers_url": "/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/developers",
"managers_url": "/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/managers",
"auditors_url": "/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/auditors",
"apps_url": "/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/apps",
"routes_url": "/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/routes",
"domains_url": "/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/domains",
"service_instances_url": "/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/service_instances",
"app_events_url": "/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/app_events",
"events_url": "/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/events",
"security_groups_url": "/v2/spaces/ef766062-a6a2-47f2-abe6-edc18e0b7518/security_groups"
}
}
Headers