Remove Manager from the Organization
DELETE /v2/organizations/:guid/managers/:manager_guid
Request
Route
DELETE /v2/organizations/8ea815c4-8e44-464b-b069-fb8b10df15e1/managers/uaa-id-103
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/8ea815c4-8e44-464b-b069-fb8b10df15e1/managers/uaa-id-103" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNSIsImVtYWlsIjoiZW1haWwtNjVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzODY0MTc5MH0.ff6-or5jzSGdAZpSr5xnKFSAtXeZjFyVXJApNr3dXHI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "8ea815c4-8e44-464b-b069-fb8b10df15e1",
"url": "/v2/organizations/8ea815c4-8e44-464b-b069-fb8b10df15e1",
"created_at": "2015-07-27T22:43:10Z",
"updated_at": null
},
"entity": {
"name": "name-222",
"billing_enabled": false,
"quota_definition_guid": "fbaa60ae-a439-4e8a-b397-c3de93fef442",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/fbaa60ae-a439-4e8a-b397-c3de93fef442",
"spaces_url": "/v2/organizations/8ea815c4-8e44-464b-b069-fb8b10df15e1/spaces",
"domains_url": "/v2/organizations/8ea815c4-8e44-464b-b069-fb8b10df15e1/domains",
"private_domains_url": "/v2/organizations/8ea815c4-8e44-464b-b069-fb8b10df15e1/private_domains",
"users_url": "/v2/organizations/8ea815c4-8e44-464b-b069-fb8b10df15e1/users",
"managers_url": "/v2/organizations/8ea815c4-8e44-464b-b069-fb8b10df15e1/managers",
"billing_managers_url": "/v2/organizations/8ea815c4-8e44-464b-b069-fb8b10df15e1/billing_managers",
"auditors_url": "/v2/organizations/8ea815c4-8e44-464b-b069-fb8b10df15e1/auditors",
"app_events_url": "/v2/organizations/8ea815c4-8e44-464b-b069-fb8b10df15e1/app_events",
"space_quota_definitions_url": "/v2/organizations/8ea815c4-8e44-464b-b069-fb8b10df15e1/space_quota_definitions"
}
}
Headers