Associate Billing Manager with the Organization
PUT /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
PUT /v2/organizations/c762a5fb-3374-4049-90a4-7d460d402311/billing_managers/uaa-id-160
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/c762a5fb-3374-4049-90a4-7d460d402311/billing_managers/uaa-id-160" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2MSIsImVtYWlsIjoiZW1haWwtMTM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4Mzh9.e8kSZz7KLzQ1l9wIg6K01oiaaE3YURl4C3wWyoAZM6Y" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "c762a5fb-3374-4049-90a4-7d460d402311",
"url": "/v2/organizations/c762a5fb-3374-4049-90a4-7d460d402311",
"created_at": "2015-11-03T00:53:58Z",
"updated_at": null
},
"entity": {
"name": "name-831",
"billing_enabled": false,
"quota_definition_guid": "e171cbde-2525-4b7b-a8f2-2149e64be076",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/e171cbde-2525-4b7b-a8f2-2149e64be076",
"spaces_url": "/v2/organizations/c762a5fb-3374-4049-90a4-7d460d402311/spaces",
"domains_url": "/v2/organizations/c762a5fb-3374-4049-90a4-7d460d402311/domains",
"private_domains_url": "/v2/organizations/c762a5fb-3374-4049-90a4-7d460d402311/private_domains",
"users_url": "/v2/organizations/c762a5fb-3374-4049-90a4-7d460d402311/users",
"managers_url": "/v2/organizations/c762a5fb-3374-4049-90a4-7d460d402311/managers",
"billing_managers_url": "/v2/organizations/c762a5fb-3374-4049-90a4-7d460d402311/billing_managers",
"auditors_url": "/v2/organizations/c762a5fb-3374-4049-90a4-7d460d402311/auditors",
"app_events_url": "/v2/organizations/c762a5fb-3374-4049-90a4-7d460d402311/app_events",
"space_quota_definitions_url": "/v2/organizations/c762a5fb-3374-4049-90a4-7d460d402311/space_quota_definitions"
}
}
Headers