Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

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

Request

Route

DELETE /v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce/managers/uaa-id-38

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce/managers/uaa-id-38" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwIiwiZW1haWwiOiJlbWFpbC0yNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3MzIzOTU2fQ.R23sIWS5PnjnCUH3jbyVArBdRbcg9Ver9X4xV5U53FU" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "9bd2929a-7c3d-4aba-8076-bce719f5c3ce",
    "url": "/v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce",
    "created_at": "2015-03-18T22:52:36Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-80",
    "billing_enabled": false,
    "quota_definition_guid": "47c5622b-6357-4e98-a1de-40f6e33e6008",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/47c5622b-6357-4e98-a1de-40f6e33e6008",
    "spaces_url": "/v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce/spaces",
    "domains_url": "/v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce/domains",
    "private_domains_url": "/v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce/private_domains",
    "users_url": "/v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce/users",
    "managers_url": "/v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce/managers",
    "billing_managers_url": "/v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce/billing_managers",
    "auditors_url": "/v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce/auditors",
    "app_events_url": "/v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce/app_events",
    "space_quota_definitions_url": "/v2/organizations/9bd2929a-7c3d-4aba-8076-bce719f5c3ce/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ba7f9087-7980-4107-b414-38a4e3f464e6
Content-Length: 1298
X-Content-Type-Options: nosniff