Associate Billing Manager with the Organization
PUT /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
PUT /v2/organizations/09c09df9-61a8-4243-8ade-60750a117184/billing_managers/uaa-id-355
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/09c09df9-61a8-4243-8ade-60750a117184/billing_managers/uaa-id-355" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NiIsImVtYWlsIjoiZW1haWwtMjUyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MzF9.b87l6O6iqfCUUrwBvEdVtuZKQyyao6QixF9GUKAwF4k" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "09c09df9-61a8-4243-8ade-60750a117184",
"url": "/v2/organizations/09c09df9-61a8-4243-8ade-60750a117184",
"created_at": "2016-01-26T22:20:31Z",
"updated_at": null
},
"entity": {
"name": "name-2217",
"billing_enabled": false,
"quota_definition_guid": "e70442c4-da6d-4490-b037-7fe1c232c036",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/e70442c4-da6d-4490-b037-7fe1c232c036",
"spaces_url": "/v2/organizations/09c09df9-61a8-4243-8ade-60750a117184/spaces",
"domains_url": "/v2/organizations/09c09df9-61a8-4243-8ade-60750a117184/domains",
"private_domains_url": "/v2/organizations/09c09df9-61a8-4243-8ade-60750a117184/private_domains",
"users_url": "/v2/organizations/09c09df9-61a8-4243-8ade-60750a117184/users",
"managers_url": "/v2/organizations/09c09df9-61a8-4243-8ade-60750a117184/managers",
"billing_managers_url": "/v2/organizations/09c09df9-61a8-4243-8ade-60750a117184/billing_managers",
"auditors_url": "/v2/organizations/09c09df9-61a8-4243-8ade-60750a117184/auditors",
"app_events_url": "/v2/organizations/09c09df9-61a8-4243-8ade-60750a117184/app_events",
"space_quota_definitions_url": "/v2/organizations/09c09df9-61a8-4243-8ade-60750a117184/space_quota_definitions"
}
}
Headers