Associate Billing Manager with the Organization
PUT /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
PUT /v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1/billing_managers/uaa-id-283
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
billing_manager_guid
|
The guid of the user
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1/billing_managers/uaa-id-283" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NCIsImVtYWlsIjoiZW1haWwtMjMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NDZ9.Hn3Qu-TjdEMUnrLtuwp_eYe1bML1lZ5YqwJZonR6apc" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "6ac86f9a-d549-4c2c-bc27-124009c411e1",
"url": "/v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1",
"created_at": "2016-03-14T22:30:46Z",
"updated_at": null
},
"entity": {
"name": "name-2212",
"billing_enabled": false,
"quota_definition_guid": "899e4f13-96b9-4c14-bf66-7d64cbe64b8f",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/899e4f13-96b9-4c14-bf66-7d64cbe64b8f",
"spaces_url": "/v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1/spaces",
"domains_url": "/v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1/domains",
"private_domains_url": "/v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1/private_domains",
"users_url": "/v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1/users",
"managers_url": "/v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1/managers",
"billing_managers_url": "/v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1/billing_managers",
"auditors_url": "/v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1/auditors",
"app_events_url": "/v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1/app_events",
"space_quota_definitions_url": "/v2/organizations/6ac86f9a-d549-4c2c-bc27-124009c411e1/space_quota_definitions"
}
}
Headers