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

Route

DELETE /v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598/managers/uaa-id-131

cURL

curl "https://api.[your-domain.com]/v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598/managers/uaa-id-131" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMyIsImVtYWlsIjoiZW1haWwtMTA2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNTh9._qtr_wzZNRQOa0BgPx4B4VFcLsBrZJQ5YlgMwk2skDk" \
	-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: 57fedff1-ea25-43b2-b508-2d3ae57e6482
Content-Length: 1304
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "8652074c-eaf4-43ee-b010-805bd2b26598",
    "url": "/v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598",
    "created_at": "2014-11-24T19:32:38+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-531",
    "billing_enabled": false,
    "quota_definition_guid": "d5c05f5f-5c56-4183-9a3f-30aef1097709",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/d5c05f5f-5c56-4183-9a3f-30aef1097709",
    "spaces_url": "/v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598/spaces",
    "domains_url": "/v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598/domains",
    "private_domains_url": "/v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598/private_domains",
    "users_url": "/v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598/users",
    "managers_url": "/v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598/managers",
    "billing_managers_url": "/v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598/billing_managers",
    "auditors_url": "/v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598/auditors",
    "app_events_url": "/v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598/app_events",
    "space_quota_definitions_url": "/v2/organizations/8652074c-eaf4-43ee-b010-805bd2b26598/space_quota_definitions"
  }
}