Associate Billing Manager with the Organization
PUT /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
PUT /v2/organizations/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16/billing_managers/uaa-id-145
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/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16/billing_managers/uaa-id-145" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NiIsImVtYWlsIjoiZW1haWwtMTA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDJ9.3XXwlL37l_RQo7lxQ6KOmRDdMOvD7KGjihyRgejgN1o" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "c45bcbe9-a48f-40ee-89b7-2ff2ad922d16",
"url": "/v2/organizations/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16",
"created_at": "2015-03-10T23:11:42Z",
"updated_at": null
},
"entity": {
"name": "name-401",
"billing_enabled": false,
"quota_definition_guid": "423d1d6a-f4bb-4a2e-96cf-a812065387cf",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/423d1d6a-f4bb-4a2e-96cf-a812065387cf",
"spaces_url": "/v2/organizations/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16/spaces",
"domains_url": "/v2/organizations/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16/domains",
"private_domains_url": "/v2/organizations/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16/private_domains",
"users_url": "/v2/organizations/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16/users",
"managers_url": "/v2/organizations/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16/managers",
"billing_managers_url": "/v2/organizations/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16/billing_managers",
"auditors_url": "/v2/organizations/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16/auditors",
"app_events_url": "/v2/organizations/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16/app_events",
"space_quota_definitions_url": "/v2/organizations/c45bcbe9-a48f-40ee-89b7-2ff2ad922d16/space_quota_definitions"
}
}
Headers