Remove Manager from the Organization
DELETE /v2/organizations/:guid/managers/:manager_guid
Request
Route
DELETE /v2/organizations/54361697-8e46-4465-93fc-7bc1ef40de53/managers/uaa-id-119
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/54361697-8e46-4465-93fc-7bc1ef40de53/managers/uaa-id-119" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMSIsImVtYWlsIjoiZW1haWwtNzFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MjYwMTUyOX0.NA10NWDexWS6c-PChtr50INg3qUxe3My8VRaOlq1kJs" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "54361697-8e46-4465-93fc-7bc1ef40de53",
"url": "/v2/organizations/54361697-8e46-4465-93fc-7bc1ef40de53",
"created_at": "2015-09-11T18:38:49Z",
"updated_at": null
},
"entity": {
"name": "name-288",
"billing_enabled": false,
"quota_definition_guid": "610a4c00-2e95-4661-98f0-854c85c87af8",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/610a4c00-2e95-4661-98f0-854c85c87af8",
"spaces_url": "/v2/organizations/54361697-8e46-4465-93fc-7bc1ef40de53/spaces",
"domains_url": "/v2/organizations/54361697-8e46-4465-93fc-7bc1ef40de53/domains",
"private_domains_url": "/v2/organizations/54361697-8e46-4465-93fc-7bc1ef40de53/private_domains",
"users_url": "/v2/organizations/54361697-8e46-4465-93fc-7bc1ef40de53/users",
"managers_url": "/v2/organizations/54361697-8e46-4465-93fc-7bc1ef40de53/managers",
"billing_managers_url": "/v2/organizations/54361697-8e46-4465-93fc-7bc1ef40de53/billing_managers",
"auditors_url": "/v2/organizations/54361697-8e46-4465-93fc-7bc1ef40de53/auditors",
"app_events_url": "/v2/organizations/54361697-8e46-4465-93fc-7bc1ef40de53/app_events",
"space_quota_definitions_url": "/v2/organizations/54361697-8e46-4465-93fc-7bc1ef40de53/space_quota_definitions"
}
}
Headers