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/4e2b4519-3960-462a-8c19-d27a5f802706/billing_managers/uaa-id-47
cURL
curl "https://api.[your-domain.com]/v2/organizations/4e2b4519-3960-462a-8c19-d27a5f802706/billing_managers/uaa-id-47" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ4IiwiZW1haWwiOiJlbWFpbC0yOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0NDcxNjg2fQ.3jBAnpPqvZBSJ157VXOsnJ9T9gMFs7uweOerQ2B-I5A" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "4e2b4519-3960-462a-8c19-d27a5f802706",
"url": "/v2/organizations/4e2b4519-3960-462a-8c19-d27a5f802706",
"created_at": "2015-02-13T22:34:46Z",
"updated_at": null
},
"entity": {
"name": "name-72",
"billing_enabled": false,
"quota_definition_guid": "21c5da11-fd2f-46e9-8bb3-1d95d20287ae",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/21c5da11-fd2f-46e9-8bb3-1d95d20287ae",
"spaces_url": "/v2/organizations/4e2b4519-3960-462a-8c19-d27a5f802706/spaces",
"domains_url": "/v2/organizations/4e2b4519-3960-462a-8c19-d27a5f802706/domains",
"private_domains_url": "/v2/organizations/4e2b4519-3960-462a-8c19-d27a5f802706/private_domains",
"users_url": "/v2/organizations/4e2b4519-3960-462a-8c19-d27a5f802706/users",
"managers_url": "/v2/organizations/4e2b4519-3960-462a-8c19-d27a5f802706/managers",
"billing_managers_url": "/v2/organizations/4e2b4519-3960-462a-8c19-d27a5f802706/billing_managers",
"auditors_url": "/v2/organizations/4e2b4519-3960-462a-8c19-d27a5f802706/auditors",
"app_events_url": "/v2/organizations/4e2b4519-3960-462a-8c19-d27a5f802706/app_events",
"space_quota_definitions_url": "/v2/organizations/4e2b4519-3960-462a-8c19-d27a5f802706/space_quota_definitions"
}
}