Remove Manager from the Organization
DELETE /v2/organizations/:guid/managers/:manager_guid
Request
Route
DELETE /v2/organizations/1ed92014-d709-4bb4-a0cb-7aabd8e1034e/managers/uaa-id-125
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/1ed92014-d709-4bb4-a0cb-7aabd8e1034e/managers/uaa-id-125" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyNyIsImVtYWlsIjoiZW1haWwtMTAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDF9.W0Ii6w6zOxQzOo7vuhlBbtERq080cCCGAxHcaV2vlfY" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "1ed92014-d709-4bb4-a0cb-7aabd8e1034e",
"url": "/v2/organizations/1ed92014-d709-4bb4-a0cb-7aabd8e1034e",
"created_at": "2015-03-10T23:11:41Z",
"updated_at": null
},
"entity": {
"name": "name-387",
"billing_enabled": false,
"quota_definition_guid": "822941f7-666b-49b0-81df-296ed79398e4",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/822941f7-666b-49b0-81df-296ed79398e4",
"spaces_url": "/v2/organizations/1ed92014-d709-4bb4-a0cb-7aabd8e1034e/spaces",
"domains_url": "/v2/organizations/1ed92014-d709-4bb4-a0cb-7aabd8e1034e/domains",
"private_domains_url": "/v2/organizations/1ed92014-d709-4bb4-a0cb-7aabd8e1034e/private_domains",
"users_url": "/v2/organizations/1ed92014-d709-4bb4-a0cb-7aabd8e1034e/users",
"managers_url": "/v2/organizations/1ed92014-d709-4bb4-a0cb-7aabd8e1034e/managers",
"billing_managers_url": "/v2/organizations/1ed92014-d709-4bb4-a0cb-7aabd8e1034e/billing_managers",
"auditors_url": "/v2/organizations/1ed92014-d709-4bb4-a0cb-7aabd8e1034e/auditors",
"app_events_url": "/v2/organizations/1ed92014-d709-4bb4-a0cb-7aabd8e1034e/app_events",
"space_quota_definitions_url": "/v2/organizations/1ed92014-d709-4bb4-a0cb-7aabd8e1034e/space_quota_definitions"
}
}
Headers