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
Route
PUT /v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e/billing_managers/uaa-id-352
cURL
curl "https://api.[your-domain.com]/v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e/billing_managers/uaa-id-352" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MyIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTR9.P2dk_x189UE9WMYreuoaEpWATRZfyJ-VEZ7QBTDjebA" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "8c9312fb-c6cb-43bf-b517-e365e88f4f5e",
"url": "/v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e",
"created_at": "2015-01-20T01:52:34+00:00",
"updated_at": null
},
"entity": {
"name": "name-1951",
"billing_enabled": false,
"quota_definition_guid": "a25c7f82-50fe-4d9f-a01f-4a8f2bf6a471",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/a25c7f82-50fe-4d9f-a01f-4a8f2bf6a471",
"spaces_url": "/v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e/spaces",
"domains_url": "/v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e/domains",
"private_domains_url": "/v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e/private_domains",
"users_url": "/v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e/users",
"managers_url": "/v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e/managers",
"billing_managers_url": "/v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e/billing_managers",
"auditors_url": "/v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e/auditors",
"app_events_url": "/v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e/app_events",
"space_quota_definitions_url": "/v2/organizations/8c9312fb-c6cb-43bf-b517-e365e88f4f5e/space_quota_definitions"
}
}