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/e299bbd4-e8a0-4816-8867-31d9ace88401/billing_managers/uaa-id-119

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.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtODlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTAzODcwMn0.0y3sXqArXX1DmncgaK8nVPAhxRiEgBwoXdbroMG96rc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/e299bbd4-e8a0-4816-8867-31d9ace88401/billing_managers/uaa-id-119" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtODlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTAzODcwMn0.0y3sXqArXX1DmncgaK8nVPAhxRiEgBwoXdbroMG96rc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "e299bbd4-e8a0-4816-8867-31d9ace88401",
    "url": "/v2/organizations/e299bbd4-e8a0-4816-8867-31d9ace88401",
    "created_at": "2015-04-07T19:11:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-322",
    "billing_enabled": false,
    "quota_definition_guid": "4a7d7b8d-2392-4bf2-bb0c-b3f0efdf4f33",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/4a7d7b8d-2392-4bf2-bb0c-b3f0efdf4f33",
    "spaces_url": "/v2/organizations/e299bbd4-e8a0-4816-8867-31d9ace88401/spaces",
    "domains_url": "/v2/organizations/e299bbd4-e8a0-4816-8867-31d9ace88401/domains",
    "private_domains_url": "/v2/organizations/e299bbd4-e8a0-4816-8867-31d9ace88401/private_domains",
    "users_url": "/v2/organizations/e299bbd4-e8a0-4816-8867-31d9ace88401/users",
    "managers_url": "/v2/organizations/e299bbd4-e8a0-4816-8867-31d9ace88401/managers",
    "billing_managers_url": "/v2/organizations/e299bbd4-e8a0-4816-8867-31d9ace88401/billing_managers",
    "auditors_url": "/v2/organizations/e299bbd4-e8a0-4816-8867-31d9ace88401/auditors",
    "app_events_url": "/v2/organizations/e299bbd4-e8a0-4816-8867-31d9ace88401/app_events",
    "space_quota_definitions_url": "/v2/organizations/e299bbd4-e8a0-4816-8867-31d9ace88401/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 07439c7e-b0a4-47b6-bb27-9b4cc353d41d
Content-Length: 1299
X-Content-Type-Options: nosniff