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/a4de5944-3430-4120-a8fb-f1affa2f5723/billing_managers/uaa-id-258
cURL
curl "https://api.[your-domain.com]/v2/organizations/a4de5944-3430-4120-a8fb-f1affa2f5723/billing_managers/uaa-id-258" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMjAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzZ9.1vlDGUsTAHlyVOyJd5HxW-C9F7VToBWLhWBjjk2nC30" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "a4de5944-3430-4120-a8fb-f1affa2f5723",
"url": "/v2/organizations/a4de5944-3430-4120-a8fb-f1affa2f5723",
"created_at": "2014-12-24T01:39:36+00:00",
"updated_at": null
},
"entity": {
"name": "name-1694",
"billing_enabled": false,
"quota_definition_guid": "f76fabdf-be2c-4fb0-af66-1f8b26e7308f",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/f76fabdf-be2c-4fb0-af66-1f8b26e7308f",
"spaces_url": "/v2/organizations/a4de5944-3430-4120-a8fb-f1affa2f5723/spaces",
"domains_url": "/v2/organizations/a4de5944-3430-4120-a8fb-f1affa2f5723/domains",
"private_domains_url": "/v2/organizations/a4de5944-3430-4120-a8fb-f1affa2f5723/private_domains",
"users_url": "/v2/organizations/a4de5944-3430-4120-a8fb-f1affa2f5723/users",
"managers_url": "/v2/organizations/a4de5944-3430-4120-a8fb-f1affa2f5723/managers",
"billing_managers_url": "/v2/organizations/a4de5944-3430-4120-a8fb-f1affa2f5723/billing_managers",
"auditors_url": "/v2/organizations/a4de5944-3430-4120-a8fb-f1affa2f5723/auditors",
"app_events_url": "/v2/organizations/a4de5944-3430-4120-a8fb-f1affa2f5723/app_events",
"space_quota_definitions_url": "/v2/organizations/a4de5944-3430-4120-a8fb-f1affa2f5723/space_quota_definitions"
}
}