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

Route

DELETE /v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268/billing_managers/uaa-id-53

cURL

curl "https://api.[your-domain.com]/v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268/billing_managers/uaa-id-53" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU0IiwiZW1haWwiOiJlbWFpbC00NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzY0fQ.TcioSCfgtp_NmeEG9-b8IUpsARDwREAHbTBWUj9_9pc" \
	-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: f345dfb0-323e-444b-aab5-139701e36d2e
Content-Length: 1299
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "43425879-6534-4e01-afa6-ef4f9cfee268",
    "url": "/v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268",
    "created_at": "2015-02-10T01:42:44Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-108",
    "billing_enabled": false,
    "quota_definition_guid": "9a4b7aef-9b1a-4fa0-8d00-70f42d481dcc",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/9a4b7aef-9b1a-4fa0-8d00-70f42d481dcc",
    "spaces_url": "/v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268/spaces",
    "domains_url": "/v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268/domains",
    "private_domains_url": "/v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268/private_domains",
    "users_url": "/v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268/users",
    "managers_url": "/v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268/managers",
    "billing_managers_url": "/v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268/billing_managers",
    "auditors_url": "/v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268/auditors",
    "app_events_url": "/v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268/app_events",
    "space_quota_definitions_url": "/v2/organizations/43425879-6534-4e01-afa6-ef4f9cfee268/space_quota_definitions"
  }
}