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/7e3b4c13-d1b0-4421-a10d-4188098f50a7/billing_managers/uaa-id-63

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/7e3b4c13-d1b0-4421-a10d-4188098f50a7/billing_managers/uaa-id-63" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY0IiwiZW1haWwiOiJlbWFpbC00OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQzfQ.hWs8nuELtsOMSXT9szTr7rrhxrQvBfQYS860vPbFp3I" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "7e3b4c13-d1b0-4421-a10d-4188098f50a7",
    "url": "/v2/organizations/7e3b4c13-d1b0-4421-a10d-4188098f50a7",
    "created_at": "2015-03-20T18:27:23Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-185",
    "billing_enabled": false,
    "quota_definition_guid": "43828f80-4832-49cd-a819-c7967a032aef",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/43828f80-4832-49cd-a819-c7967a032aef",
    "spaces_url": "/v2/organizations/7e3b4c13-d1b0-4421-a10d-4188098f50a7/spaces",
    "domains_url": "/v2/organizations/7e3b4c13-d1b0-4421-a10d-4188098f50a7/domains",
    "private_domains_url": "/v2/organizations/7e3b4c13-d1b0-4421-a10d-4188098f50a7/private_domains",
    "users_url": "/v2/organizations/7e3b4c13-d1b0-4421-a10d-4188098f50a7/users",
    "managers_url": "/v2/organizations/7e3b4c13-d1b0-4421-a10d-4188098f50a7/managers",
    "billing_managers_url": "/v2/organizations/7e3b4c13-d1b0-4421-a10d-4188098f50a7/billing_managers",
    "auditors_url": "/v2/organizations/7e3b4c13-d1b0-4421-a10d-4188098f50a7/auditors",
    "app_events_url": "/v2/organizations/7e3b4c13-d1b0-4421-a10d-4188098f50a7/app_events",
    "space_quota_definitions_url": "/v2/organizations/7e3b4c13-d1b0-4421-a10d-4188098f50a7/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8aebd0a8-9924-47f8-8da8-0c27dff12508
Content-Length: 1299
X-Content-Type-Options: nosniff