Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

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

Request

Route

DELETE /v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322/managers/uaa-id-431

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization
manager_guid The guid of the user to associate as a manager

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzMyIsImVtYWlsIjoiZW1haWwtMzE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NzJ9.7zAWPi357Oe0GY-lIe5DiHRWV63_0gNEwkZzZT0hlBc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322/managers/uaa-id-431" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzMyIsImVtYWlsIjoiZW1haWwtMzE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NzJ9.7zAWPi357Oe0GY-lIe5DiHRWV63_0gNEwkZzZT0hlBc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "5b2866fe-e5c4-42f2-88c6-223d400e1322",
    "url": "/v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322",
    "created_at": "2015-10-15T23:52:52Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2448",
    "billing_enabled": false,
    "quota_definition_guid": "35b6b637-9329-46b7-9845-7507f060bb7d",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/35b6b637-9329-46b7-9845-7507f060bb7d",
    "spaces_url": "/v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322/spaces",
    "domains_url": "/v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322/domains",
    "private_domains_url": "/v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322/private_domains",
    "users_url": "/v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322/users",
    "managers_url": "/v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322/managers",
    "billing_managers_url": "/v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322/billing_managers",
    "auditors_url": "/v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322/auditors",
    "app_events_url": "/v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322/app_events",
    "space_quota_definitions_url": "/v2/organizations/5b2866fe-e5c4-42f2-88c6-223d400e1322/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 75cd2cc9-b049-4f46-a9ac-f6dd31eee21e
Content-Length: 1300
X-Content-Type-Options: nosniff