Remove Manager from the Organization
DELETE /v2/organizations/:guid/managers/:manager_guid
Request
Route
DELETE /v2/organizations/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d/managers/uaa-id-200
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/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d/managers/uaa-id-200" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMiIsImVtYWlsIjoiZW1haWwtMTY5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTZ9.Kxzv64k9OpHhEIP4eQvL4Qj9vSLHe1KAhlJjHdktTKI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "5933e9b2-f1e2-406b-a55c-1d00e2d95a9d",
"url": "/v2/organizations/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d",
"created_at": "2015-05-15T16:53:36Z",
"updated_at": null
},
"entity": {
"name": "name-839",
"billing_enabled": false,
"quota_definition_guid": "17ea2289-0d5e-4e0a-8ec0-338b4d477ae5",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/17ea2289-0d5e-4e0a-8ec0-338b4d477ae5",
"spaces_url": "/v2/organizations/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d/spaces",
"domains_url": "/v2/organizations/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d/domains",
"private_domains_url": "/v2/organizations/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d/private_domains",
"users_url": "/v2/organizations/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d/users",
"managers_url": "/v2/organizations/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d/managers",
"billing_managers_url": "/v2/organizations/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d/billing_managers",
"auditors_url": "/v2/organizations/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d/auditors",
"app_events_url": "/v2/organizations/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d/app_events",
"space_quota_definitions_url": "/v2/organizations/5933e9b2-f1e2-406b-a55c-1d00e2d95a9d/space_quota_definitions"
}
}
Headers