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/772249b4-534d-4a1a-b8df-b549bbc7d3b5/billing_managers/uaa-id-141

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/772249b4-534d-4a1a-b8df-b549bbc7d3b5/billing_managers/uaa-id-141" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MiIsImVtYWlsIjoiZW1haWwtMTA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDN9.iOmUI-PoIXnzX1OFgAVM9GnL9_uYESJUOJjsdn1URdc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "772249b4-534d-4a1a-b8df-b549bbc7d3b5",
    "url": "/v2/organizations/772249b4-534d-4a1a-b8df-b549bbc7d3b5",
    "created_at": "2015-03-05T19:15:43Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-459",
    "billing_enabled": false,
    "quota_definition_guid": "6b31a56f-3ded-4db7-971a-f794a75494a4",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/6b31a56f-3ded-4db7-971a-f794a75494a4",
    "spaces_url": "/v2/organizations/772249b4-534d-4a1a-b8df-b549bbc7d3b5/spaces",
    "domains_url": "/v2/organizations/772249b4-534d-4a1a-b8df-b549bbc7d3b5/domains",
    "private_domains_url": "/v2/organizations/772249b4-534d-4a1a-b8df-b549bbc7d3b5/private_domains",
    "users_url": "/v2/organizations/772249b4-534d-4a1a-b8df-b549bbc7d3b5/users",
    "managers_url": "/v2/organizations/772249b4-534d-4a1a-b8df-b549bbc7d3b5/managers",
    "billing_managers_url": "/v2/organizations/772249b4-534d-4a1a-b8df-b549bbc7d3b5/billing_managers",
    "auditors_url": "/v2/organizations/772249b4-534d-4a1a-b8df-b549bbc7d3b5/auditors",
    "app_events_url": "/v2/organizations/772249b4-534d-4a1a-b8df-b549bbc7d3b5/app_events",
    "space_quota_definitions_url": "/v2/organizations/772249b4-534d-4a1a-b8df-b549bbc7d3b5/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: afedb0be-7634-474c-bd04-b65b6ab6bc10
Content-Length: 1299
X-Content-Type-Options: nosniff