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/7f501234-fb1b-42d5-96e2-9143f7363f30/billing_managers/uaa-id-142

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/7f501234-fb1b-42d5-96e2-9143f7363f30/billing_managers/uaa-id-142" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MyIsImVtYWlsIjoiZW1haWwtMTA2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDJ9.iBTmWwmNMGbsMJk_HMWDQT6V8glnOTx_pkipbwQhusU" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "7f501234-fb1b-42d5-96e2-9143f7363f30",
    "url": "/v2/organizations/7f501234-fb1b-42d5-96e2-9143f7363f30",
    "created_at": "2015-03-10T23:11:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-399",
    "billing_enabled": false,
    "quota_definition_guid": "61d2382e-d7c5-4cdb-b8ac-3b4cdf73860a",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/61d2382e-d7c5-4cdb-b8ac-3b4cdf73860a",
    "spaces_url": "/v2/organizations/7f501234-fb1b-42d5-96e2-9143f7363f30/spaces",
    "domains_url": "/v2/organizations/7f501234-fb1b-42d5-96e2-9143f7363f30/domains",
    "private_domains_url": "/v2/organizations/7f501234-fb1b-42d5-96e2-9143f7363f30/private_domains",
    "users_url": "/v2/organizations/7f501234-fb1b-42d5-96e2-9143f7363f30/users",
    "managers_url": "/v2/organizations/7f501234-fb1b-42d5-96e2-9143f7363f30/managers",
    "billing_managers_url": "/v2/organizations/7f501234-fb1b-42d5-96e2-9143f7363f30/billing_managers",
    "auditors_url": "/v2/organizations/7f501234-fb1b-42d5-96e2-9143f7363f30/auditors",
    "app_events_url": "/v2/organizations/7f501234-fb1b-42d5-96e2-9143f7363f30/app_events",
    "space_quota_definitions_url": "/v2/organizations/7f501234-fb1b-42d5-96e2-9143f7363f30/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 27c0f2af-bccc-497f-82bf-419a4ccebdc8
Content-Length: 1299
X-Content-Type-Options: nosniff