Home
Version 3
Organizations API

Organizations API

Associate Billing Manager with the Organization

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

Route

PUT /v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b/billing_managers/uaa-id-315

cURL

curl "https://api.[your-domain.com]/v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b/billing_managers/uaa-id-315" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxNiIsImVtYWlsIjoiZW1haWwtMjQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDF9.WaZooj4iqpqMWABr53BLagl5Zo7NYlc34wlpg7_d8fU" \
	-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: 4fded269-557d-4b1f-b70e-bcae32b55c40
Content-Length: 1300
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "95cc8bc0-6c00-4af2-a425-dafa7a7e921b",
    "url": "/v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b",
    "created_at": "2015-02-12T01:42:21Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1944",
    "billing_enabled": false,
    "quota_definition_guid": "bba57d21-d037-456b-aa9e-96029232e7b5",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/bba57d21-d037-456b-aa9e-96029232e7b5",
    "spaces_url": "/v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b/spaces",
    "domains_url": "/v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b/domains",
    "private_domains_url": "/v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b/private_domains",
    "users_url": "/v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b/users",
    "managers_url": "/v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b/managers",
    "billing_managers_url": "/v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b/billing_managers",
    "auditors_url": "/v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b/auditors",
    "app_events_url": "/v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b/app_events",
    "space_quota_definitions_url": "/v2/organizations/95cc8bc0-6c00-4af2-a425-dafa7a7e921b/space_quota_definitions"
  }
}