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.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1IiwiZW1haWwiOiJlbWFpbC00M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzY0fQ.HV4IxLIJcsMMHKwq1wFrk5cTzDB4ZF1MDV9DY1Yey-4
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60/managers/uaa-id-43

cURL

curl "https://api.[your-domain.com]/v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60/managers/uaa-id-43" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1IiwiZW1haWwiOiJlbWFpbC00M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzY0fQ.HV4IxLIJcsMMHKwq1wFrk5cTzDB4ZF1MDV9DY1Yey-4" \
	-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: 1da0b24c-c3a8-4670-895c-8e2012cda384
Content-Length: 1299
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "5dfd8dce-6812-43fe-9025-b4b28fc0da60",
    "url": "/v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60",
    "created_at": "2015-02-10T01:42:44Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-102",
    "billing_enabled": false,
    "quota_definition_guid": "e3613f01-a9f6-4ca8-9151-dae9d90fc6c4",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/e3613f01-a9f6-4ca8-9151-dae9d90fc6c4",
    "spaces_url": "/v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60/spaces",
    "domains_url": "/v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60/domains",
    "private_domains_url": "/v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60/private_domains",
    "users_url": "/v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60/users",
    "managers_url": "/v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60/managers",
    "billing_managers_url": "/v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60/billing_managers",
    "auditors_url": "/v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60/auditors",
    "app_events_url": "/v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60/app_events",
    "space_quota_definitions_url": "/v2/organizations/5dfd8dce-6812-43fe-9025-b4b28fc0da60/space_quota_definitions"
  }
}