Home
Version 3
Organizations API

Organizations API

Remove Billing Manager from the Organization

DELETE /v2/organizations/:guid/billing_managers/:billing_manager_guid

Request

Route

DELETE /v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250/billing_managers/uaa-id-329

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250/billing_managers/uaa-id-329" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMCIsImVtYWlsIjoiZW1haWwtMjQ4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNTB9.MMnWhe-LUf9SyVPrXSF85Mjc3SQUxPplmtMiKyECfQc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "fa60a422-b7cc-4f68-bdab-1b82f3d45250",
    "url": "/v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250",
    "created_at": "2015-04-15T00:55:50Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1984",
    "billing_enabled": false,
    "quota_definition_guid": "66fea6de-a8ed-4dbb-b8e3-6e32d3f188ed",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/66fea6de-a8ed-4dbb-b8e3-6e32d3f188ed",
    "spaces_url": "/v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250/spaces",
    "domains_url": "/v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250/domains",
    "private_domains_url": "/v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250/private_domains",
    "users_url": "/v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250/users",
    "managers_url": "/v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250/managers",
    "billing_managers_url": "/v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250/billing_managers",
    "auditors_url": "/v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250/auditors",
    "app_events_url": "/v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250/app_events",
    "space_quota_definitions_url": "/v2/organizations/fa60a422-b7cc-4f68-bdab-1b82f3d45250/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: aab09649-6008-4fdd-bb30-012e16eb1a76
Content-Length: 1300
X-Content-Type-Options: nosniff