Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

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

Request

Route

DELETE /v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594/managers/uaa-id-108

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594/managers/uaa-id-108" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMCIsImVtYWlsIjoiZW1haWwtMTA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTF9.cGgQgh08OOadVPdPd19f_IITW95d3myj_z_HMEDff64" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "15c47fc5-1dc7-40f0-b801-4d68ee786594",
    "url": "/v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594",
    "created_at": "2015-06-16T23:40:50Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-532",
    "billing_enabled": false,
    "quota_definition_guid": "aaa2a14c-3fea-4977-b2ad-5afffec11a3b",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/aaa2a14c-3fea-4977-b2ad-5afffec11a3b",
    "spaces_url": "/v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594/spaces",
    "domains_url": "/v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594/domains",
    "private_domains_url": "/v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594/private_domains",
    "users_url": "/v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594/users",
    "managers_url": "/v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594/managers",
    "billing_managers_url": "/v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594/billing_managers",
    "auditors_url": "/v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594/auditors",
    "app_events_url": "/v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594/app_events",
    "space_quota_definitions_url": "/v2/organizations/15c47fc5-1dc7-40f0-b801-4d68ee786594/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 3d8af79c-a552-4360-9ebd-a175b9e758c2
Content-Length: 1299
X-Content-Type-Options: nosniff