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

Route

DELETE /v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890/managers/uaa-id-367

cURL

curl "https://api.[your-domain.com]/v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890/managers/uaa-id-367" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OSIsImVtYWlsIjoiZW1haWwtMjc0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTR9.BmVZYSNvCqHbyHHLs3WQJFtKewhWNFuINHtmMBhvwZQ" \
	-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: bb951f14-8963-4f53-b77b-0cd841601666
Content-Length: 1305
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "d3df4fe6-cc68-4f80-9f1d-9ab34b704890",
    "url": "/v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890",
    "created_at": "2015-01-20T01:52:34+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1970",
    "billing_enabled": false,
    "quota_definition_guid": "802d4423-6892-4902-9df8-f783054a3f7d",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/802d4423-6892-4902-9df8-f783054a3f7d",
    "spaces_url": "/v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890/spaces",
    "domains_url": "/v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890/domains",
    "private_domains_url": "/v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890/private_domains",
    "users_url": "/v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890/users",
    "managers_url": "/v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890/managers",
    "billing_managers_url": "/v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890/billing_managers",
    "auditors_url": "/v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890/auditors",
    "app_events_url": "/v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890/app_events",
    "space_quota_definitions_url": "/v2/organizations/d3df4fe6-cc68-4f80-9f1d-9ab34b704890/space_quota_definitions"
  }
}