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.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNCIsImVtYWlsIjoiZW1haWwtOTJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNzQ2MjM1N30.v30y2PcX1Mqy3-9zRY6nhbcoml1e2k8nk6FptyYwryA
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e/billing_managers/uaa-id-103

cURL

curl "https://api.[your-domain.com]/v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e/billing_managers/uaa-id-103" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNCIsImVtYWlsIjoiZW1haWwtOTJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNzQ2MjM1N30.v30y2PcX1Mqy3-9zRY6nhbcoml1e2k8nk6FptyYwryA" \
	-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: 1fe5da0b-5e34-44c7-b5e5-5623b06c4921
Content-Length: 1304
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "a9fd7bba-e5df-490a-a136-9b601892a49e",
    "url": "/v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e",
    "created_at": "2014-11-24T19:32:37+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-499",
    "billing_enabled": false,
    "quota_definition_guid": "afb5faa9-a6b4-4256-91b4-d0c2794b266b",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/afb5faa9-a6b4-4256-91b4-d0c2794b266b",
    "spaces_url": "/v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e/spaces",
    "domains_url": "/v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e/domains",
    "private_domains_url": "/v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e/private_domains",
    "users_url": "/v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e/users",
    "managers_url": "/v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e/managers",
    "billing_managers_url": "/v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e/billing_managers",
    "auditors_url": "/v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e/auditors",
    "app_events_url": "/v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e/app_events",
    "space_quota_definitions_url": "/v2/organizations/a9fd7bba-e5df-490a-a136-9b601892a49e/space_quota_definitions"
  }
}