Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

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

Request

Route

DELETE /v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735/managers/uaa-id-368

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735/managers/uaa-id-368" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MCIsImVtYWlsIjoiZW1haWwtMjc3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjF9.QGKKPDicpYSdhE50bowad4TUYG1p_WX_QWkT_9LhEzw" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "c110bad9-e62b-4c39-8c04-bab8baee8735",
    "url": "/v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735",
    "created_at": "2015-06-04T00:05:21Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2186",
    "billing_enabled": false,
    "quota_definition_guid": "a141027a-4f5e-430c-9eae-a1aaaff303a9",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/a141027a-4f5e-430c-9eae-a1aaaff303a9",
    "spaces_url": "/v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735/spaces",
    "domains_url": "/v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735/domains",
    "private_domains_url": "/v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735/private_domains",
    "users_url": "/v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735/users",
    "managers_url": "/v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735/managers",
    "billing_managers_url": "/v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735/billing_managers",
    "auditors_url": "/v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735/auditors",
    "app_events_url": "/v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735/app_events",
    "space_quota_definitions_url": "/v2/organizations/c110bad9-e62b-4c39-8c04-bab8baee8735/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b24a4593-afdc-426a-90ad-5ee7a3c1966b
Content-Length: 1300
X-Content-Type-Options: nosniff