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/d130e554-6c41-4274-acd5-ef343e6e0b98/billing_managers/uaa-id-413

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/d130e554-6c41-4274-acd5-ef343e6e0b98/billing_managers/uaa-id-413" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxNCIsImVtYWlsIjoiZW1haWwtMzA2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NzF9.JTw0InstyffPlk7vGqR8h-AlxOf0Jy14GssRReLPNPU" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "d130e554-6c41-4274-acd5-ef343e6e0b98",
    "url": "/v2/organizations/d130e554-6c41-4274-acd5-ef343e6e0b98",
    "created_at": "2015-10-15T23:52:51Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2423",
    "billing_enabled": false,
    "quota_definition_guid": "81410fa0-004b-4e16-ad5e-f3960923c935",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/81410fa0-004b-4e16-ad5e-f3960923c935",
    "spaces_url": "/v2/organizations/d130e554-6c41-4274-acd5-ef343e6e0b98/spaces",
    "domains_url": "/v2/organizations/d130e554-6c41-4274-acd5-ef343e6e0b98/domains",
    "private_domains_url": "/v2/organizations/d130e554-6c41-4274-acd5-ef343e6e0b98/private_domains",
    "users_url": "/v2/organizations/d130e554-6c41-4274-acd5-ef343e6e0b98/users",
    "managers_url": "/v2/organizations/d130e554-6c41-4274-acd5-ef343e6e0b98/managers",
    "billing_managers_url": "/v2/organizations/d130e554-6c41-4274-acd5-ef343e6e0b98/billing_managers",
    "auditors_url": "/v2/organizations/d130e554-6c41-4274-acd5-ef343e6e0b98/auditors",
    "app_events_url": "/v2/organizations/d130e554-6c41-4274-acd5-ef343e6e0b98/app_events",
    "space_quota_definitions_url": "/v2/organizations/d130e554-6c41-4274-acd5-ef343e6e0b98/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 708bf684-d03d-41bd-9518-3f4ed609cd31
Content-Length: 1300
X-Content-Type-Options: nosniff