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

Route

DELETE /v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a/managers/uaa-id-35

cURL

curl "https://api.[your-domain.com]/v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a/managers/uaa-id-35" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3IiwiZW1haWwiOiJlbWFpbC0yNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0NDcxNjg2fQ.BQESlwn9BBB2WpDrx2WgqP7d7zAT83nvDe0RzHAmyiQ" \
	-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: 5a5a3a50-3576-4abb-94fe-1963016a815e
Content-Length: 1298
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "0d1c7283-d944-4678-9894-3d58983a2f3a",
    "url": "/v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a",
    "created_at": "2015-02-13T22:34:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-64",
    "billing_enabled": false,
    "quota_definition_guid": "404e1ae0-8bc8-4a8b-b8c6-13d0a9a3a23d",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/404e1ae0-8bc8-4a8b-b8c6-13d0a9a3a23d",
    "spaces_url": "/v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a/spaces",
    "domains_url": "/v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a/domains",
    "private_domains_url": "/v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a/private_domains",
    "users_url": "/v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a/users",
    "managers_url": "/v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a/managers",
    "billing_managers_url": "/v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a/billing_managers",
    "auditors_url": "/v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a/auditors",
    "app_events_url": "/v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a/app_events",
    "space_quota_definitions_url": "/v2/organizations/0d1c7283-d944-4678-9894-3d58983a2f3a/space_quota_definitions"
  }
}