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.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MCIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTR9.iB5Se5pKa8HyuWIBzuzJsU-Dd0hTtzorrdveJmH-qMw
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150/billing_managers/uaa-id-349

cURL

curl "https://api.[your-domain.com]/v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150/billing_managers/uaa-id-349" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MCIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTR9.iB5Se5pKa8HyuWIBzuzJsU-Dd0hTtzorrdveJmH-qMw" \
	-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: 8776a1ae-29b6-4996-b4eb-f02f976a105a
Content-Length: 1305
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "72a482f0-e70d-4988-87a3-c597edfd0150",
    "url": "/v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150",
    "created_at": "2015-01-20T01:52:34+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1949",
    "billing_enabled": false,
    "quota_definition_guid": "ea98b3f1-0368-4265-98cb-f0f5f4a5074f",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/ea98b3f1-0368-4265-98cb-f0f5f4a5074f",
    "spaces_url": "/v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150/spaces",
    "domains_url": "/v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150/domains",
    "private_domains_url": "/v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150/private_domains",
    "users_url": "/v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150/users",
    "managers_url": "/v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150/managers",
    "billing_managers_url": "/v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150/billing_managers",
    "auditors_url": "/v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150/auditors",
    "app_events_url": "/v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150/app_events",
    "space_quota_definitions_url": "/v2/organizations/72a482f0-e70d-4988-87a3-c597edfd0150/space_quota_definitions"
  }
}