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/15483f43-d0fd-4272-8a5f-704441be13fb/billing_managers/uaa-id-150

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/15483f43-d0fd-4272-8a5f-704441be13fb/billing_managers/uaa-id-150" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MSIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMTY0NjYzM30.bVLnD6nAIKPneAlB6ndYwqpKp7NG1s_qDIw_vO0FVD8" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "15483f43-d0fd-4272-8a5f-704441be13fb",
    "url": "/v2/organizations/15483f43-d0fd-4272-8a5f-704441be13fb",
    "created_at": "2015-05-07T23:37:13Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1195",
    "billing_enabled": false,
    "quota_definition_guid": "8cce2874-e87e-4552-bec8-42005ccc19a5",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/8cce2874-e87e-4552-bec8-42005ccc19a5",
    "spaces_url": "/v2/organizations/15483f43-d0fd-4272-8a5f-704441be13fb/spaces",
    "domains_url": "/v2/organizations/15483f43-d0fd-4272-8a5f-704441be13fb/domains",
    "private_domains_url": "/v2/organizations/15483f43-d0fd-4272-8a5f-704441be13fb/private_domains",
    "users_url": "/v2/organizations/15483f43-d0fd-4272-8a5f-704441be13fb/users",
    "managers_url": "/v2/organizations/15483f43-d0fd-4272-8a5f-704441be13fb/managers",
    "billing_managers_url": "/v2/organizations/15483f43-d0fd-4272-8a5f-704441be13fb/billing_managers",
    "auditors_url": "/v2/organizations/15483f43-d0fd-4272-8a5f-704441be13fb/auditors",
    "app_events_url": "/v2/organizations/15483f43-d0fd-4272-8a5f-704441be13fb/app_events",
    "space_quota_definitions_url": "/v2/organizations/15483f43-d0fd-4272-8a5f-704441be13fb/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7175ed9c-b983-4ca0-b5d0-c8b7a5dce983
Content-Length: 1300
X-Content-Type-Options: nosniff