Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

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

Request

Route

DELETE /v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d/managers/uaa-id-43

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d/managers/uaa-id-43" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1IiwiZW1haWwiOiJlbWFpbC0zOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQyfQ.GtKCbiA4vFEv6Snkwflm4rh4DkyOD8K065xvRAMyHCs" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "cefd15f2-a98d-4fdb-ad52-fedd3e9e243d",
    "url": "/v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d",
    "created_at": "2015-03-20T18:27:22Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-159",
    "billing_enabled": false,
    "quota_definition_guid": "697a29b0-d65d-41b1-b5de-e2612d8cfe1b",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/697a29b0-d65d-41b1-b5de-e2612d8cfe1b",
    "spaces_url": "/v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d/spaces",
    "domains_url": "/v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d/domains",
    "private_domains_url": "/v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d/private_domains",
    "users_url": "/v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d/users",
    "managers_url": "/v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d/managers",
    "billing_managers_url": "/v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d/billing_managers",
    "auditors_url": "/v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d/auditors",
    "app_events_url": "/v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d/app_events",
    "space_quota_definitions_url": "/v2/organizations/cefd15f2-a98d-4fdb-ad52-fedd3e9e243d/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7d0d16d8-62a8-4338-90cc-aca81b4495b3
Content-Length: 1299
X-Content-Type-Options: nosniff