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

Route

DELETE /v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3/managers/uaa-id-189

cURL

curl "https://api.[your-domain.com]/v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3/managers/uaa-id-189" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5MSIsImVtYWlsIjoiZW1haWwtMTQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDV9.b6QzQZ41TX8Kf_FAi7K4e2fzpgigpJ0iod24KPxrAL8" \
	-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: 06cf20ff-5e36-47e8-bee1-2e41921c97c9
Content-Length: 1304
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "32647c53-632a-422f-a0be-81fe4badc1a3",
    "url": "/v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3",
    "created_at": "2014-11-13T23:38:25+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-734",
    "billing_enabled": false,
    "quota_definition_guid": "3491ea2e-f23b-4ca3-9f70-5bc24390f129",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/3491ea2e-f23b-4ca3-9f70-5bc24390f129",
    "spaces_url": "/v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3/spaces",
    "domains_url": "/v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3/domains",
    "private_domains_url": "/v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3/private_domains",
    "users_url": "/v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3/users",
    "managers_url": "/v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3/managers",
    "billing_managers_url": "/v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3/billing_managers",
    "auditors_url": "/v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3/auditors",
    "app_events_url": "/v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3/app_events",
    "space_quota_definitions_url": "/v2/organizations/32647c53-632a-422f-a0be-81fe4badc1a3/space_quota_definitions"
  }
}