Remove Manager from the Organization
DELETE /v2/organizations/:guid/managers/:manager_guid
Request
Route
DELETE /v2/organizations/f21012fc-110b-4fc8-899d-1e7d41d3c55b/managers/uaa-id-102
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/f21012fc-110b-4fc8-899d-1e7d41d3c55b/managers/uaa-id-102" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNCIsImVtYWlsIjoiZW1haWwtODJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzOTQyNjE5N30.EBWg5CXUIPb9v1j7s7-w40xM3oE7wQmvC0ImjZaz5rw" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "f21012fc-110b-4fc8-899d-1e7d41d3c55b",
"url": "/v2/organizations/f21012fc-110b-4fc8-899d-1e7d41d3c55b",
"created_at": "2015-08-06T00:36:37Z",
"updated_at": null
},
"entity": {
"name": "name-398",
"billing_enabled": false,
"quota_definition_guid": "28e23d2d-6062-4ecc-a564-e73dcce2c489",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/28e23d2d-6062-4ecc-a564-e73dcce2c489",
"spaces_url": "/v2/organizations/f21012fc-110b-4fc8-899d-1e7d41d3c55b/spaces",
"domains_url": "/v2/organizations/f21012fc-110b-4fc8-899d-1e7d41d3c55b/domains",
"private_domains_url": "/v2/organizations/f21012fc-110b-4fc8-899d-1e7d41d3c55b/private_domains",
"users_url": "/v2/organizations/f21012fc-110b-4fc8-899d-1e7d41d3c55b/users",
"managers_url": "/v2/organizations/f21012fc-110b-4fc8-899d-1e7d41d3c55b/managers",
"billing_managers_url": "/v2/organizations/f21012fc-110b-4fc8-899d-1e7d41d3c55b/billing_managers",
"auditors_url": "/v2/organizations/f21012fc-110b-4fc8-899d-1e7d41d3c55b/auditors",
"app_events_url": "/v2/organizations/f21012fc-110b-4fc8-899d-1e7d41d3c55b/app_events",
"space_quota_definitions_url": "/v2/organizations/f21012fc-110b-4fc8-899d-1e7d41d3c55b/space_quota_definitions"
}
}
Headers