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/56174c14-1a08-4dca-9625-8918cd562dff/billing_managers/uaa-id-202

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/56174c14-1a08-4dca-9625-8918cd562dff/billing_managers/uaa-id-202" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMyIsImVtYWlsIjoiZW1haWwtMTE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDN9.WW0ES1UXnyKvNEuclvYdJAeok83CSvkYaUFDlYTwmB0" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "56174c14-1a08-4dca-9625-8918cd562dff",
    "url": "/v2/organizations/56174c14-1a08-4dca-9625-8918cd562dff",
    "created_at": "2015-09-30T23:30:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1320",
    "billing_enabled": false,
    "quota_definition_guid": "b3aa714c-4a3a-40a4-8724-8d734a62ab7d",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/b3aa714c-4a3a-40a4-8724-8d734a62ab7d",
    "spaces_url": "/v2/organizations/56174c14-1a08-4dca-9625-8918cd562dff/spaces",
    "domains_url": "/v2/organizations/56174c14-1a08-4dca-9625-8918cd562dff/domains",
    "private_domains_url": "/v2/organizations/56174c14-1a08-4dca-9625-8918cd562dff/private_domains",
    "users_url": "/v2/organizations/56174c14-1a08-4dca-9625-8918cd562dff/users",
    "managers_url": "/v2/organizations/56174c14-1a08-4dca-9625-8918cd562dff/managers",
    "billing_managers_url": "/v2/organizations/56174c14-1a08-4dca-9625-8918cd562dff/billing_managers",
    "auditors_url": "/v2/organizations/56174c14-1a08-4dca-9625-8918cd562dff/auditors",
    "app_events_url": "/v2/organizations/56174c14-1a08-4dca-9625-8918cd562dff/app_events",
    "space_quota_definitions_url": "/v2/organizations/56174c14-1a08-4dca-9625-8918cd562dff/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9a3ad41f-c61b-46c2-9cc3-405bcce07679
Content-Length: 1300
X-Content-Type-Options: nosniff