Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

DELETE /v2/organizations/:guid/managers/:manager_guid

Request

Route

DELETE /v2/organizations/858688f5-019a-4496-9c42-63c2369a2166/managers/uaa-id-164

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NiIsImVtYWlsIjoiZW1haWwtMTE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDR9.-cbBDpHSRXqsKXAiScRwBcmHjoJ9zFRZF4wUplfzFuo
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/858688f5-019a-4496-9c42-63c2369a2166/managers/uaa-id-164" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NiIsImVtYWlsIjoiZW1haWwtMTE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDR9.-cbBDpHSRXqsKXAiScRwBcmHjoJ9zFRZF4wUplfzFuo" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "858688f5-019a-4496-9c42-63c2369a2166",
    "url": "/v2/organizations/858688f5-019a-4496-9c42-63c2369a2166",
    "created_at": "2015-03-05T19:15:44Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-497",
    "billing_enabled": false,
    "quota_definition_guid": "28085420-6101-457d-897c-60b832b3194a",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/28085420-6101-457d-897c-60b832b3194a",
    "spaces_url": "/v2/organizations/858688f5-019a-4496-9c42-63c2369a2166/spaces",
    "domains_url": "/v2/organizations/858688f5-019a-4496-9c42-63c2369a2166/domains",
    "private_domains_url": "/v2/organizations/858688f5-019a-4496-9c42-63c2369a2166/private_domains",
    "users_url": "/v2/organizations/858688f5-019a-4496-9c42-63c2369a2166/users",
    "managers_url": "/v2/organizations/858688f5-019a-4496-9c42-63c2369a2166/managers",
    "billing_managers_url": "/v2/organizations/858688f5-019a-4496-9c42-63c2369a2166/billing_managers",
    "auditors_url": "/v2/organizations/858688f5-019a-4496-9c42-63c2369a2166/auditors",
    "app_events_url": "/v2/organizations/858688f5-019a-4496-9c42-63c2369a2166/app_events",
    "space_quota_definitions_url": "/v2/organizations/858688f5-019a-4496-9c42-63c2369a2166/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4e7db8ec-3326-4e99-80bd-14014861ede6
Content-Length: 1299
X-Content-Type-Options: nosniff