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/9daf84a2-632b-4ff5-96e0-905880b3e59b/billing_managers/uaa-id-139

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.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MCIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NjV9.LUP-uAdlF9vz5sysuU10Bx7z9HngIIcfc0JjRMVXcx4
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/9daf84a2-632b-4ff5-96e0-905880b3e59b/billing_managers/uaa-id-139" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MCIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NjV9.LUP-uAdlF9vz5sysuU10Bx7z9HngIIcfc0JjRMVXcx4" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "9daf84a2-632b-4ff5-96e0-905880b3e59b",
    "url": "/v2/organizations/9daf84a2-632b-4ff5-96e0-905880b3e59b",
    "created_at": "2015-03-03T00:51:05Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1087",
    "billing_enabled": false,
    "quota_definition_guid": "692ad340-7234-4076-a41d-4aa73edf535c",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/692ad340-7234-4076-a41d-4aa73edf535c",
    "spaces_url": "/v2/organizations/9daf84a2-632b-4ff5-96e0-905880b3e59b/spaces",
    "domains_url": "/v2/organizations/9daf84a2-632b-4ff5-96e0-905880b3e59b/domains",
    "private_domains_url": "/v2/organizations/9daf84a2-632b-4ff5-96e0-905880b3e59b/private_domains",
    "users_url": "/v2/organizations/9daf84a2-632b-4ff5-96e0-905880b3e59b/users",
    "managers_url": "/v2/organizations/9daf84a2-632b-4ff5-96e0-905880b3e59b/managers",
    "billing_managers_url": "/v2/organizations/9daf84a2-632b-4ff5-96e0-905880b3e59b/billing_managers",
    "auditors_url": "/v2/organizations/9daf84a2-632b-4ff5-96e0-905880b3e59b/auditors",
    "app_events_url": "/v2/organizations/9daf84a2-632b-4ff5-96e0-905880b3e59b/app_events",
    "space_quota_definitions_url": "/v2/organizations/9daf84a2-632b-4ff5-96e0-905880b3e59b/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e15e5e1e-9dd8-4a27-9b56-a19cde62e055
Content-Length: 1300
X-Content-Type-Options: nosniff