Remove Manager from the Organization
DELETE /v2/organizations/:guid/managers/:manager_guid
Request
Route
DELETE /v2/organizations/172e0649-4768-49f7-a639-577a3d6f8332/managers/uaa-id-159
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/172e0649-4768-49f7-a639-577a3d6f8332/managers/uaa-id-159" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2MSIsImVtYWlsIjoiZW1haWwtOTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMTY0NjYzM30.Bc3O7If5zeHHljGkRIxNvvTvQqMu-vHf9VR57Eh2S4o" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "172e0649-4768-49f7-a639-577a3d6f8332",
"url": "/v2/organizations/172e0649-4768-49f7-a639-577a3d6f8332",
"created_at": "2015-05-07T23:37:13Z",
"updated_at": null
},
"entity": {
"name": "name-1201",
"billing_enabled": false,
"quota_definition_guid": "b79c621b-767c-4792-845c-13740a623d39",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/b79c621b-767c-4792-845c-13740a623d39",
"spaces_url": "/v2/organizations/172e0649-4768-49f7-a639-577a3d6f8332/spaces",
"domains_url": "/v2/organizations/172e0649-4768-49f7-a639-577a3d6f8332/domains",
"private_domains_url": "/v2/organizations/172e0649-4768-49f7-a639-577a3d6f8332/private_domains",
"users_url": "/v2/organizations/172e0649-4768-49f7-a639-577a3d6f8332/users",
"managers_url": "/v2/organizations/172e0649-4768-49f7-a639-577a3d6f8332/managers",
"billing_managers_url": "/v2/organizations/172e0649-4768-49f7-a639-577a3d6f8332/billing_managers",
"auditors_url": "/v2/organizations/172e0649-4768-49f7-a639-577a3d6f8332/auditors",
"app_events_url": "/v2/organizations/172e0649-4768-49f7-a639-577a3d6f8332/app_events",
"space_quota_definitions_url": "/v2/organizations/172e0649-4768-49f7-a639-577a3d6f8332/space_quota_definitions"
}
}
Headers