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/a4617165-da2a-4a4a-bd60-9c516540a7d6/billing_managers/uaa-id-54

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.eyJ1c2VyX2lkIjoidWFhLWlkLTU1IiwiZW1haWwiOiJlbWFpbC00N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgxfQ.KZvckd3HxNffKXJ5Pc_TNL0IL_nRS-b2OWFZ-E-_DQE
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/a4617165-da2a-4a4a-bd60-9c516540a7d6/billing_managers/uaa-id-54" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU1IiwiZW1haWwiOiJlbWFpbC00N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgxfQ.KZvckd3HxNffKXJ5Pc_TNL0IL_nRS-b2OWFZ-E-_DQE" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "a4617165-da2a-4a4a-bd60-9c516540a7d6",
    "url": "/v2/organizations/a4617165-da2a-4a4a-bd60-9c516540a7d6",
    "created_at": "2015-05-21T01:03:01Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-223",
    "billing_enabled": false,
    "quota_definition_guid": "059732fe-f42b-4dec-8877-69a73e43f607",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/059732fe-f42b-4dec-8877-69a73e43f607",
    "spaces_url": "/v2/organizations/a4617165-da2a-4a4a-bd60-9c516540a7d6/spaces",
    "domains_url": "/v2/organizations/a4617165-da2a-4a4a-bd60-9c516540a7d6/domains",
    "private_domains_url": "/v2/organizations/a4617165-da2a-4a4a-bd60-9c516540a7d6/private_domains",
    "users_url": "/v2/organizations/a4617165-da2a-4a4a-bd60-9c516540a7d6/users",
    "managers_url": "/v2/organizations/a4617165-da2a-4a4a-bd60-9c516540a7d6/managers",
    "billing_managers_url": "/v2/organizations/a4617165-da2a-4a4a-bd60-9c516540a7d6/billing_managers",
    "auditors_url": "/v2/organizations/a4617165-da2a-4a4a-bd60-9c516540a7d6/auditors",
    "app_events_url": "/v2/organizations/a4617165-da2a-4a4a-bd60-9c516540a7d6/app_events",
    "space_quota_definitions_url": "/v2/organizations/a4617165-da2a-4a4a-bd60-9c516540a7d6/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e8386d8d-79b1-42e0-9be0-acd362f6fae1
Content-Length: 1299
X-Content-Type-Options: nosniff