Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

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

Request

Route

DELETE /v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a/managers/uaa-id-157

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a/managers/uaa-id-157" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1OSIsImVtYWlsIjoiZW1haWwtMTEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NjV9.IlqrkrnXwk_F6SQJGm-aqu_mXJH9tsyXs0JODnrKPsc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "f8f23c49-ed21-4254-9731-0165d177d55a",
    "url": "/v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a",
    "created_at": "2015-03-03T00:51:05Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1104",
    "billing_enabled": false,
    "quota_definition_guid": "a4175d21-2a43-4aa5-bafc-61e7002bb54c",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/a4175d21-2a43-4aa5-bafc-61e7002bb54c",
    "spaces_url": "/v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a/spaces",
    "domains_url": "/v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a/domains",
    "private_domains_url": "/v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a/private_domains",
    "users_url": "/v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a/users",
    "managers_url": "/v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a/managers",
    "billing_managers_url": "/v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a/billing_managers",
    "auditors_url": "/v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a/auditors",
    "app_events_url": "/v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a/app_events",
    "space_quota_definitions_url": "/v2/organizations/f8f23c49-ed21-4254-9731-0165d177d55a/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: f8f3659d-48d4-42a0-bb43-e668cbc9f57f
Content-Length: 1300
X-Content-Type-Options: nosniff