Home
Version 3
Organizations API

Organizations API

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

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNCIsImVtYWlsIjoiZW1haWwtMjU0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDJ9.ynTiSKKhB9c-dfOf1kEzMu1mzfZQdFJw6qMlL3xNthk
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90/managers/uaa-id-322

cURL

curl "https://api.[your-domain.com]/v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90/managers/uaa-id-322" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNCIsImVtYWlsIjoiZW1haWwtMjU0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDJ9.ynTiSKKhB9c-dfOf1kEzMu1mzfZQdFJw6qMlL3xNthk" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: f21b75a8-884c-4235-9308-443e0b22c4e6
Content-Length: 1300
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "59f484e4-0b75-4675-afc6-56cc09bb0c90",
    "url": "/v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90",
    "created_at": "2015-02-12T01:42:22Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1956",
    "billing_enabled": false,
    "quota_definition_guid": "e16baa34-2b08-4fa2-bf14-def500cd670f",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/e16baa34-2b08-4fa2-bf14-def500cd670f",
    "spaces_url": "/v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90/spaces",
    "domains_url": "/v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90/domains",
    "private_domains_url": "/v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90/private_domains",
    "users_url": "/v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90/users",
    "managers_url": "/v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90/managers",
    "billing_managers_url": "/v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90/billing_managers",
    "auditors_url": "/v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90/auditors",
    "app_events_url": "/v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90/app_events",
    "space_quota_definitions_url": "/v2/organizations/59f484e4-0b75-4675-afc6-56cc09bb0c90/space_quota_definitions"
  }
}