Remove Manager from the Organization
DELETE /v2/organizations/:guid/managers/:manager_guid
Request
Route
DELETE /v2/organizations/145b6344-8096-4d1d-a6d9-3442dfa1a252/managers/uaa-id-97
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/145b6344-8096-4d1d-a6d9-3442dfa1a252/managers/uaa-id-97" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk5IiwiZW1haWwiOiJlbWFpbC01M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQxNjYyNTk3fQ.9zSX81FNMb5Tk6iGg51PdNvnA9mVNL_LjeCojSLlgvE" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "145b6344-8096-4d1d-a6d9-3442dfa1a252",
"url": "/v2/organizations/145b6344-8096-4d1d-a6d9-3442dfa1a252",
"created_at": "2015-08-31T21:49:57Z",
"updated_at": null
},
"entity": {
"name": "name-306",
"billing_enabled": false,
"quota_definition_guid": "0b54dfd6-9e4c-4d02-b649-1d70bc7d32bd",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/0b54dfd6-9e4c-4d02-b649-1d70bc7d32bd",
"spaces_url": "/v2/organizations/145b6344-8096-4d1d-a6d9-3442dfa1a252/spaces",
"domains_url": "/v2/organizations/145b6344-8096-4d1d-a6d9-3442dfa1a252/domains",
"private_domains_url": "/v2/organizations/145b6344-8096-4d1d-a6d9-3442dfa1a252/private_domains",
"users_url": "/v2/organizations/145b6344-8096-4d1d-a6d9-3442dfa1a252/users",
"managers_url": "/v2/organizations/145b6344-8096-4d1d-a6d9-3442dfa1a252/managers",
"billing_managers_url": "/v2/organizations/145b6344-8096-4d1d-a6d9-3442dfa1a252/billing_managers",
"auditors_url": "/v2/organizations/145b6344-8096-4d1d-a6d9-3442dfa1a252/auditors",
"app_events_url": "/v2/organizations/145b6344-8096-4d1d-a6d9-3442dfa1a252/app_events",
"space_quota_definitions_url": "/v2/organizations/145b6344-8096-4d1d-a6d9-3442dfa1a252/space_quota_definitions"
}
}
Headers