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

Route

DELETE /v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179/billing_managers/uaa-id-222

cURL

curl "https://api.[your-domain.com]/v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179/billing_managers/uaa-id-222" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMyIsImVtYWlsIjoiZW1haWwtMTYyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDJ9.ZpksTriysUQZ0iWO5POuMJ2Q8bfrqHRXBZB7y5kWJ1w" \
	-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: ab44cadd-335e-49b5-bcae-d053e24edc60
Content-Length: 1304
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "459320f9-3329-40ed-b718-c6f3bb360179",
    "url": "/v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179",
    "created_at": "2014-11-05T01:02:22+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-780",
    "billing_enabled": false,
    "quota_definition_guid": "ba91938d-94a1-4658-b95e-8545e6dd48d8",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/ba91938d-94a1-4658-b95e-8545e6dd48d8",
    "spaces_url": "/v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179/spaces",
    "domains_url": "/v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179/domains",
    "private_domains_url": "/v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179/private_domains",
    "users_url": "/v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179/users",
    "managers_url": "/v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179/managers",
    "billing_managers_url": "/v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179/billing_managers",
    "auditors_url": "/v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179/auditors",
    "app_events_url": "/v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179/app_events",
    "space_quota_definitions_url": "/v2/organizations/459320f9-3329-40ed-b718-c6f3bb360179/space_quota_definitions"
  }
}