Remove Manager from the Space
DELETE /v2/spaces/:guid/managers/:manager_guid
Request
Route
DELETE /v2/spaces/a122546f-9022-448b-a993-1dac61f9d789/managers/uaa-id-88
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/a122546f-9022-448b-a993-1dac61f9d789/managers/uaa-id-88" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkwIiwiZW1haWwiOiJlbWFpbC02MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQ0fQ.ppxUz2aDh2LtGZanrG_Xz4YMbaotpaKMPDwGi0BPh6U" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "a122546f-9022-448b-a993-1dac61f9d789",
"url": "/v2/spaces/a122546f-9022-448b-a993-1dac61f9d789",
"created_at": "2015-03-20T18:27:24Z",
"updated_at": null
},
"entity": {
"name": "name-229",
"organization_guid": "36921669-6594-4c74-b0a8-e91bd3e3d874",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/36921669-6594-4c74-b0a8-e91bd3e3d874",
"developers_url": "/v2/spaces/a122546f-9022-448b-a993-1dac61f9d789/developers",
"managers_url": "/v2/spaces/a122546f-9022-448b-a993-1dac61f9d789/managers",
"auditors_url": "/v2/spaces/a122546f-9022-448b-a993-1dac61f9d789/auditors",
"apps_url": "/v2/spaces/a122546f-9022-448b-a993-1dac61f9d789/apps",
"routes_url": "/v2/spaces/a122546f-9022-448b-a993-1dac61f9d789/routes",
"domains_url": "/v2/spaces/a122546f-9022-448b-a993-1dac61f9d789/domains",
"service_instances_url": "/v2/spaces/a122546f-9022-448b-a993-1dac61f9d789/service_instances",
"app_events_url": "/v2/spaces/a122546f-9022-448b-a993-1dac61f9d789/app_events",
"events_url": "/v2/spaces/a122546f-9022-448b-a993-1dac61f9d789/events",
"security_groups_url": "/v2/spaces/a122546f-9022-448b-a993-1dac61f9d789/security_groups"
}
}
Headers