Associate Billing Manager with the Organization
PUT /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
PUT /v2/organizations/f30938fb-d4bf-4979-a814-e8dd7d0c555f/billing_managers/uaa-id-92
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/f30938fb-d4bf-4979-a814-e8dd7d0c555f/billing_managers/uaa-id-92" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkzIiwiZW1haWwiOiJlbWFpbC01MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQxNjYyNTk3fQ.HBakLK382v6Zc7J7dCD6ivyQVgksLShr5g-GYqquPlI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "f30938fb-d4bf-4979-a814-e8dd7d0c555f",
"url": "/v2/organizations/f30938fb-d4bf-4979-a814-e8dd7d0c555f",
"created_at": "2015-08-31T21:49:57Z",
"updated_at": null
},
"entity": {
"name": "name-302",
"billing_enabled": false,
"quota_definition_guid": "59691b7d-351c-4a0a-bcef-de390e3e8ee4",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/59691b7d-351c-4a0a-bcef-de390e3e8ee4",
"spaces_url": "/v2/organizations/f30938fb-d4bf-4979-a814-e8dd7d0c555f/spaces",
"domains_url": "/v2/organizations/f30938fb-d4bf-4979-a814-e8dd7d0c555f/domains",
"private_domains_url": "/v2/organizations/f30938fb-d4bf-4979-a814-e8dd7d0c555f/private_domains",
"users_url": "/v2/organizations/f30938fb-d4bf-4979-a814-e8dd7d0c555f/users",
"managers_url": "/v2/organizations/f30938fb-d4bf-4979-a814-e8dd7d0c555f/managers",
"billing_managers_url": "/v2/organizations/f30938fb-d4bf-4979-a814-e8dd7d0c555f/billing_managers",
"auditors_url": "/v2/organizations/f30938fb-d4bf-4979-a814-e8dd7d0c555f/auditors",
"app_events_url": "/v2/organizations/f30938fb-d4bf-4979-a814-e8dd7d0c555f/app_events",
"space_quota_definitions_url": "/v2/organizations/f30938fb-d4bf-4979-a814-e8dd7d0c555f/space_quota_definitions"
}
}
Headers