Remove Manager from the Organization
DELETE /v2/organizations/:guid/managers/:manager_guid
Request
Route
DELETE /v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52/managers/uaa-id-352
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52/managers/uaa-id-352" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NCIsImVtYWlsIjoiZW1haWwtMjU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNTB9.xhyGbvs1GCoD0ZBq9rGNtQYYlf1Y-dZnSqHVFmInetI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "3968942a-75f8-41b1-8145-0a3402538a52",
"url": "/v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52",
"created_at": "2015-04-15T00:55:50Z",
"updated_at": null
},
"entity": {
"name": "name-2009",
"billing_enabled": false,
"quota_definition_guid": "47bc96f4-3a8d-42ec-aa83-42e3e6e688e4",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/47bc96f4-3a8d-42ec-aa83-42e3e6e688e4",
"spaces_url": "/v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52/spaces",
"domains_url": "/v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52/domains",
"private_domains_url": "/v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52/private_domains",
"users_url": "/v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52/users",
"managers_url": "/v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52/managers",
"billing_managers_url": "/v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52/billing_managers",
"auditors_url": "/v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52/auditors",
"app_events_url": "/v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52/app_events",
"space_quota_definitions_url": "/v2/organizations/3968942a-75f8-41b1-8145-0a3402538a52/space_quota_definitions"
}
}
Headers