Associate Billing Manager with the Organization
PUT /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
PUT /v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082/billing_managers/uaa-id-138
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082/billing_managers/uaa-id-138" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzOSIsImVtYWlsIjoiZW1haWwtMTE5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTF9.4f3x99q4p1jJViogABT34Y89yEciCi9LdC0RJrZdG8s" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "8ddfa17c-7fab-4c03-88c1-89c078488082",
"url": "/v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082",
"created_at": "2015-06-16T23:40:51Z",
"updated_at": null
},
"entity": {
"name": "name-568",
"billing_enabled": false,
"quota_definition_guid": "eb80d611-bc1f-4d38-ad46-b98317e589b5",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/eb80d611-bc1f-4d38-ad46-b98317e589b5",
"spaces_url": "/v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082/spaces",
"domains_url": "/v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082/domains",
"private_domains_url": "/v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082/private_domains",
"users_url": "/v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082/users",
"managers_url": "/v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082/managers",
"billing_managers_url": "/v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082/billing_managers",
"auditors_url": "/v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082/auditors",
"app_events_url": "/v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082/app_events",
"space_quota_definitions_url": "/v2/organizations/8ddfa17c-7fab-4c03-88c1-89c078488082/space_quota_definitions"
}
}
Headers