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/23afb801-455c-406d-914d-fff4606ca5f4/billing_managers/uaa-id-87

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization
billing_manager_guid The guid of the user

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg4IiwiZW1haWwiOiJlbWFpbC01OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM4NjQxNzkwfQ.yW-AawVNsgcEpiY5SXvE8UC0vRGZBAteSzbBtMU2hp4
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/23afb801-455c-406d-914d-fff4606ca5f4/billing_managers/uaa-id-87" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg4IiwiZW1haWwiOiJlbWFpbC01OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM4NjQxNzkwfQ.yW-AawVNsgcEpiY5SXvE8UC0vRGZBAteSzbBtMU2hp4" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "23afb801-455c-406d-914d-fff4606ca5f4",
    "url": "/v2/organizations/23afb801-455c-406d-914d-fff4606ca5f4",
    "created_at": "2015-07-27T22:43:10Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-204",
    "billing_enabled": false,
    "quota_definition_guid": "0b2acfcf-e51e-46b7-b481-fa8f3fc7e613",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/0b2acfcf-e51e-46b7-b481-fa8f3fc7e613",
    "spaces_url": "/v2/organizations/23afb801-455c-406d-914d-fff4606ca5f4/spaces",
    "domains_url": "/v2/organizations/23afb801-455c-406d-914d-fff4606ca5f4/domains",
    "private_domains_url": "/v2/organizations/23afb801-455c-406d-914d-fff4606ca5f4/private_domains",
    "users_url": "/v2/organizations/23afb801-455c-406d-914d-fff4606ca5f4/users",
    "managers_url": "/v2/organizations/23afb801-455c-406d-914d-fff4606ca5f4/managers",
    "billing_managers_url": "/v2/organizations/23afb801-455c-406d-914d-fff4606ca5f4/billing_managers",
    "auditors_url": "/v2/organizations/23afb801-455c-406d-914d-fff4606ca5f4/auditors",
    "app_events_url": "/v2/organizations/23afb801-455c-406d-914d-fff4606ca5f4/app_events",
    "space_quota_definitions_url": "/v2/organizations/23afb801-455c-406d-914d-fff4606ca5f4/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 62e68ec5-bd7f-4d10-902f-e1b3fca30e48
Content-Length: 1299
X-Content-Type-Options: nosniff