Associate Billing Manager with the Organization
PUT /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
PUT /v2/organizations/a81ff3c0-a839-4639-921c-9d9984e23685/billing_managers/uaa-id-60
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/a81ff3c0-a839-4639-921c-9d9984e23685/billing_managers/uaa-id-60" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYxIiwiZW1haWwiOiJlbWFpbC0yOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ4MDM4OTQ0fQ.6_Pxp76-VQJzqSQnq6gYcRhjk7IK_RynIQc8xYErn_8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "a81ff3c0-a839-4639-921c-9d9984e23685",
"url": "/v2/organizations/a81ff3c0-a839-4639-921c-9d9984e23685",
"created_at": "2015-11-13T17:02:23Z",
"updated_at": null
},
"entity": {
"name": "name-62",
"billing_enabled": false,
"quota_definition_guid": "677fd80b-aef9-4e2d-bd7b-3b78b2d90f3b",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/677fd80b-aef9-4e2d-bd7b-3b78b2d90f3b",
"spaces_url": "/v2/organizations/a81ff3c0-a839-4639-921c-9d9984e23685/spaces",
"domains_url": "/v2/organizations/a81ff3c0-a839-4639-921c-9d9984e23685/domains",
"private_domains_url": "/v2/organizations/a81ff3c0-a839-4639-921c-9d9984e23685/private_domains",
"users_url": "/v2/organizations/a81ff3c0-a839-4639-921c-9d9984e23685/users",
"managers_url": "/v2/organizations/a81ff3c0-a839-4639-921c-9d9984e23685/managers",
"billing_managers_url": "/v2/organizations/a81ff3c0-a839-4639-921c-9d9984e23685/billing_managers",
"auditors_url": "/v2/organizations/a81ff3c0-a839-4639-921c-9d9984e23685/auditors",
"app_events_url": "/v2/organizations/a81ff3c0-a839-4639-921c-9d9984e23685/app_events",
"space_quota_definitions_url": "/v2/organizations/a81ff3c0-a839-4639-921c-9d9984e23685/space_quota_definitions"
}
}
Headers