Associate Billing Manager with the Organization
PUT /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
PUT /v2/organizations/0f598467-ce1d-4e6f-ac79-1b94e9f9f799/billing_managers/uaa-id-18
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/0f598467-ce1d-4e6f-ac79-1b94e9f9f799/billing_managers/uaa-id-18" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5IiwiZW1haWwiOiJlbWFpbC0xNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxOTU4MzkwfQ.vJ9eJ3dfSP4VBNc8CxXX7q56dp0aA_flw7orY01Sx_8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "0f598467-ce1d-4e6f-ac79-1b94e9f9f799",
"url": "/v2/organizations/0f598467-ce1d-4e6f-ac79-1b94e9f9f799",
"created_at": "2016-04-22T19:33:10Z",
"updated_at": null
},
"entity": {
"name": "name-51",
"billing_enabled": false,
"quota_definition_guid": "5c6ad353-29e7-48a7-9c22-c062ded99063",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/5c6ad353-29e7-48a7-9c22-c062ded99063",
"spaces_url": "/v2/organizations/0f598467-ce1d-4e6f-ac79-1b94e9f9f799/spaces",
"domains_url": "/v2/organizations/0f598467-ce1d-4e6f-ac79-1b94e9f9f799/domains",
"private_domains_url": "/v2/organizations/0f598467-ce1d-4e6f-ac79-1b94e9f9f799/private_domains",
"users_url": "/v2/organizations/0f598467-ce1d-4e6f-ac79-1b94e9f9f799/users",
"managers_url": "/v2/organizations/0f598467-ce1d-4e6f-ac79-1b94e9f9f799/managers",
"billing_managers_url": "/v2/organizations/0f598467-ce1d-4e6f-ac79-1b94e9f9f799/billing_managers",
"auditors_url": "/v2/organizations/0f598467-ce1d-4e6f-ac79-1b94e9f9f799/auditors",
"app_events_url": "/v2/organizations/0f598467-ce1d-4e6f-ac79-1b94e9f9f799/app_events",
"space_quota_definitions_url": "/v2/organizations/0f598467-ce1d-4e6f-ac79-1b94e9f9f799/space_quota_definitions"
}
}
Headers