Home
Version 3
Organizations API

Organizations API

Remove Billing Manager from the Organization

DELETE /v2/organizations/:guid/billing_managers/:billing_manager_guid

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MSIsImVtYWlsIjoiZW1haWwtMjA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzZ9.uZQU1AbofRk1XDJW8-Zjnqe2BP5Fv3x6hj2iuE71JWI
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f/billing_managers/uaa-id-260

cURL

curl "https://api.[your-domain.com]/v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f/billing_managers/uaa-id-260" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MSIsImVtYWlsIjoiZW1haWwtMjA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzZ9.uZQU1AbofRk1XDJW8-Zjnqe2BP5Fv3x6hj2iuE71JWI" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 918ef736-6e34-43f1-8d0c-f48dce27e584
Content-Length: 1305
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "abb199b7-2a1e-4b02-880e-a8d86d12920f",
    "url": "/v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f",
    "created_at": "2014-12-24T01:39:36+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1696",
    "billing_enabled": false,
    "quota_definition_guid": "5773cad7-e121-40cb-a292-34436eaf161f",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/5773cad7-e121-40cb-a292-34436eaf161f",
    "spaces_url": "/v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f/spaces",
    "domains_url": "/v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f/domains",
    "private_domains_url": "/v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f/private_domains",
    "users_url": "/v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f/users",
    "managers_url": "/v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f/managers",
    "billing_managers_url": "/v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f/billing_managers",
    "auditors_url": "/v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f/auditors",
    "app_events_url": "/v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f/app_events",
    "space_quota_definitions_url": "/v2/organizations/abb199b7-2a1e-4b02-880e-a8d86d12920f/space_quota_definitions"
  }
}