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/510b4739-1ba0-48ac-91f1-0e20aac04c5e/billing_managers/uaa-id-352

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.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MyIsImVtYWlsIjoiZW1haWwtMjY5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjB9.jpU3pjjAXfSBe-pdF7qMfjzL6miR5AVXXj9sKzCOwZU
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/510b4739-1ba0-48ac-91f1-0e20aac04c5e/billing_managers/uaa-id-352" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MyIsImVtYWlsIjoiZW1haWwtMjY5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjB9.jpU3pjjAXfSBe-pdF7qMfjzL6miR5AVXXj9sKzCOwZU" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "510b4739-1ba0-48ac-91f1-0e20aac04c5e",
    "url": "/v2/organizations/510b4739-1ba0-48ac-91f1-0e20aac04c5e",
    "created_at": "2015-06-04T00:05:20Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2166",
    "billing_enabled": false,
    "quota_definition_guid": "f90d7dd7-4370-4697-844f-b1e41438d122",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/f90d7dd7-4370-4697-844f-b1e41438d122",
    "spaces_url": "/v2/organizations/510b4739-1ba0-48ac-91f1-0e20aac04c5e/spaces",
    "domains_url": "/v2/organizations/510b4739-1ba0-48ac-91f1-0e20aac04c5e/domains",
    "private_domains_url": "/v2/organizations/510b4739-1ba0-48ac-91f1-0e20aac04c5e/private_domains",
    "users_url": "/v2/organizations/510b4739-1ba0-48ac-91f1-0e20aac04c5e/users",
    "managers_url": "/v2/organizations/510b4739-1ba0-48ac-91f1-0e20aac04c5e/managers",
    "billing_managers_url": "/v2/organizations/510b4739-1ba0-48ac-91f1-0e20aac04c5e/billing_managers",
    "auditors_url": "/v2/organizations/510b4739-1ba0-48ac-91f1-0e20aac04c5e/auditors",
    "app_events_url": "/v2/organizations/510b4739-1ba0-48ac-91f1-0e20aac04c5e/app_events",
    "space_quota_definitions_url": "/v2/organizations/510b4739-1ba0-48ac-91f1-0e20aac04c5e/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9ca91478-3bd0-4c07-8c45-61ae317f25ac
Content-Length: 1300
X-Content-Type-Options: nosniff