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

Route

DELETE /v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a/billing_managers/uaa-id-369

cURL

curl "https://api.[your-domain.com]/v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a/billing_managers/uaa-id-369" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MCIsImVtYWlsIjoiZW1haWwtMjc1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODV9.EAt9s9rGIAxWyd4jFL03LQeBlGStPyMxbKq4D3OPr0Y" \
	-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: df907b4e-c08f-481a-a5a0-388a850e759c
Content-Length: 1300
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "33c36245-4e6f-415b-b37f-67418f1cf32a",
    "url": "/v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a",
    "created_at": "2015-01-27T19:14:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1987",
    "billing_enabled": false,
    "quota_definition_guid": "0d181eb3-ff2b-4312-8d4e-6a11fade39e0",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/0d181eb3-ff2b-4312-8d4e-6a11fade39e0",
    "spaces_url": "/v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a/spaces",
    "domains_url": "/v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a/domains",
    "private_domains_url": "/v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a/private_domains",
    "users_url": "/v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a/users",
    "managers_url": "/v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a/managers",
    "billing_managers_url": "/v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a/billing_managers",
    "auditors_url": "/v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a/auditors",
    "app_events_url": "/v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a/app_events",
    "space_quota_definitions_url": "/v2/organizations/33c36245-4e6f-415b-b37f-67418f1cf32a/space_quota_definitions"
  }
}