Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

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

Request

Route

DELETE /v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e/managers/uaa-id-78

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.eyJ1c2VyX2lkIjoidWFhLWlkLTgwIiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgyfQ.aHnW1wYF8Cp_-knetS4GhXjS-rU-Ow3grm0JMMq_Ujo
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e/managers/uaa-id-78" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgwIiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgyfQ.aHnW1wYF8Cp_-knetS4GhXjS-rU-Ow3grm0JMMq_Ujo" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "c51d5ec8-6008-41bb-b209-db044b7ca39e",
    "url": "/v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e",
    "created_at": "2015-05-21T01:03:01Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-269",
    "billing_enabled": false,
    "quota_definition_guid": "b2027bf1-ad8c-475a-a892-9f388412962f",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/b2027bf1-ad8c-475a-a892-9f388412962f",
    "spaces_url": "/v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e/spaces",
    "domains_url": "/v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e/domains",
    "private_domains_url": "/v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e/private_domains",
    "users_url": "/v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e/users",
    "managers_url": "/v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e/managers",
    "billing_managers_url": "/v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e/billing_managers",
    "auditors_url": "/v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e/auditors",
    "app_events_url": "/v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e/app_events",
    "space_quota_definitions_url": "/v2/organizations/c51d5ec8-6008-41bb-b209-db044b7ca39e/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a9fe20f6-98e7-495f-8c0c-958b8be0dc60
Content-Length: 1299
X-Content-Type-Options: nosniff