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/34055322-fa89-4551-a626-584eb9144fa5/billing_managers/uaa-id-135

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/34055322-fa89-4551-a626-584eb9144fa5/billing_managers/uaa-id-135" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNiIsImVtYWlsIjoiZW1haWwtMTE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTF9.gGzz6EMHM7LqfY6M3uIgHPFUpVpCWh4Wrh8kYXfDDcs" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "34055322-fa89-4551-a626-584eb9144fa5",
    "url": "/v2/organizations/34055322-fa89-4551-a626-584eb9144fa5",
    "created_at": "2015-06-16T23:40:51Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-566",
    "billing_enabled": false,
    "quota_definition_guid": "d00656a0-f811-4012-8227-be37047acc3e",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/d00656a0-f811-4012-8227-be37047acc3e",
    "spaces_url": "/v2/organizations/34055322-fa89-4551-a626-584eb9144fa5/spaces",
    "domains_url": "/v2/organizations/34055322-fa89-4551-a626-584eb9144fa5/domains",
    "private_domains_url": "/v2/organizations/34055322-fa89-4551-a626-584eb9144fa5/private_domains",
    "users_url": "/v2/organizations/34055322-fa89-4551-a626-584eb9144fa5/users",
    "managers_url": "/v2/organizations/34055322-fa89-4551-a626-584eb9144fa5/managers",
    "billing_managers_url": "/v2/organizations/34055322-fa89-4551-a626-584eb9144fa5/billing_managers",
    "auditors_url": "/v2/organizations/34055322-fa89-4551-a626-584eb9144fa5/auditors",
    "app_events_url": "/v2/organizations/34055322-fa89-4551-a626-584eb9144fa5/app_events",
    "space_quota_definitions_url": "/v2/organizations/34055322-fa89-4551-a626-584eb9144fa5/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b1376700-98c8-488c-9526-c13a98acff3a
Content-Length: 1299
X-Content-Type-Options: nosniff