Home
Version 3
Organizations API

Organizations API

Remove Billing Manager from the Organization

DELETE /v2/organizations/:guid/billing_managers/:billing_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.eyJ1c2VyX2lkIjoidWFhLWlkLTMxMyIsImVtYWlsIjoiZW1haWwtMjQ4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDF9.2c6l0MN8JSui62e1vLwRN59ZpUFHaSb67zyvE9-sXmk
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4/billing_managers/uaa-id-312

cURL

curl "https://api.[your-domain.com]/v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4/billing_managers/uaa-id-312" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxMyIsImVtYWlsIjoiZW1haWwtMjQ4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDF9.2c6l0MN8JSui62e1vLwRN59ZpUFHaSb67zyvE9-sXmk" \
	-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: cdf717ef-0ebc-42ea-9b06-79fef48e92d7
Content-Length: 1300
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "f0c22d56-8c85-46b3-aa52-ac52b9aa57b4",
    "url": "/v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4",
    "created_at": "2015-02-12T01:42:21Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1942",
    "billing_enabled": false,
    "quota_definition_guid": "85dc569e-b886-4118-ab51-bf6fbb2c72bb",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/85dc569e-b886-4118-ab51-bf6fbb2c72bb",
    "spaces_url": "/v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4/spaces",
    "domains_url": "/v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4/domains",
    "private_domains_url": "/v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4/private_domains",
    "users_url": "/v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4/users",
    "managers_url": "/v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4/managers",
    "billing_managers_url": "/v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4/billing_managers",
    "auditors_url": "/v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4/auditors",
    "app_events_url": "/v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4/app_events",
    "space_quota_definitions_url": "/v2/organizations/f0c22d56-8c85-46b3-aa52-ac52b9aa57b4/space_quota_definitions"
  }
}