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/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c/billing_managers/uaa-id-211

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c/billing_managers/uaa-id-211" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMiIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTZ9.u4pn2NpxSF8Gg2XsGtmluQmfmAVPsdDejSzYVe8BdYM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c",
    "url": "/v2/organizations/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c",
    "created_at": "2015-05-15T16:53:36Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-850",
    "billing_enabled": false,
    "quota_definition_guid": "71cc9368-c4ac-4c08-a734-d0dc63d1ba38",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/71cc9368-c4ac-4c08-a734-d0dc63d1ba38",
    "spaces_url": "/v2/organizations/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c/spaces",
    "domains_url": "/v2/organizations/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c/domains",
    "private_domains_url": "/v2/organizations/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c/private_domains",
    "users_url": "/v2/organizations/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c/users",
    "managers_url": "/v2/organizations/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c/managers",
    "billing_managers_url": "/v2/organizations/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c/billing_managers",
    "auditors_url": "/v2/organizations/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c/auditors",
    "app_events_url": "/v2/organizations/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c/app_events",
    "space_quota_definitions_url": "/v2/organizations/18bf5d8b-1b44-42a5-a85e-bff9fd4b1a6c/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 02829d3d-a93a-40df-b6c1-aab813dd38cd
Content-Length: 1299
X-Content-Type-Options: nosniff