Remove Manager from the Organization
DELETE /v2/organizations/:guid/managers/:manager_guid
Request
Route
DELETE /v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664/managers/uaa-id-342
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
manager_guid
|
The guid of the user to associate as a manager
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664/managers/uaa-id-342" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NCIsImVtYWlsIjoiZW1haWwtMjM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDF9.kpJIlMiwUkGlpT18ex7UXFYteUifdOgjUA_oQ4z8CHU" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "c632d63c-2e0a-4621-9a82-fc13aa543664",
"url": "/v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664",
"created_at": "2015-10-07T00:35:41Z",
"updated_at": null
},
"entity": {
"name": "name-2146",
"billing_enabled": false,
"quota_definition_guid": "cae22828-62fb-49f6-81b5-64568897dc8b",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/cae22828-62fb-49f6-81b5-64568897dc8b",
"spaces_url": "/v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664/spaces",
"domains_url": "/v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664/domains",
"private_domains_url": "/v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664/private_domains",
"users_url": "/v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664/users",
"managers_url": "/v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664/managers",
"billing_managers_url": "/v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664/billing_managers",
"auditors_url": "/v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664/auditors",
"app_events_url": "/v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664/app_events",
"space_quota_definitions_url": "/v2/organizations/c632d63c-2e0a-4621-9a82-fc13aa543664/space_quota_definitions"
}
}
Headers