Remove Manager from the Organization
DELETE /v2/organizations/:guid/managers/:manager_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Request
Headers
Route
DELETE /v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b/managers/uaa-id-344
cURL
curl "https://api.[your-domain.com]/v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b/managers/uaa-id-344" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NiIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODV9.QuSPEhV88EFAVzcOZCePH6gewmoG1M91w7uyzUqynxk" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "d26909f0-184b-43e1-bbae-814311a80b7b",
"url": "/v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b",
"created_at": "2015-01-27T19:14:45Z",
"updated_at": null
},
"entity": {
"name": "name-1967",
"billing_enabled": false,
"quota_definition_guid": "40c6d72e-ac67-4449-8a44-761fea426c8e",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/40c6d72e-ac67-4449-8a44-761fea426c8e",
"spaces_url": "/v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b/spaces",
"domains_url": "/v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b/domains",
"private_domains_url": "/v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b/private_domains",
"users_url": "/v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b/users",
"managers_url": "/v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b/managers",
"billing_managers_url": "/v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b/billing_managers",
"auditors_url": "/v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b/auditors",
"app_events_url": "/v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b/app_events",
"space_quota_definitions_url": "/v2/organizations/d26909f0-184b-43e1-bbae-814311a80b7b/space_quota_definitions"
}
}