Associate Billing Manager with the Organization
PUT /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
PUT /v2/organizations/1207cb8e-4b2b-4f87-ae01-8377b0e3513f/billing_managers/uaa-id-416
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/1207cb8e-4b2b-4f87-ae01-8377b0e3513f/billing_managers/uaa-id-416" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxNyIsImVtYWlsIjoiZW1haWwtMzA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NzF9.XZk9zOQzo5LbISf-rkcXCw5NbCj81oVHd-VGaRP9sNo" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "1207cb8e-4b2b-4f87-ae01-8377b0e3513f",
"url": "/v2/organizations/1207cb8e-4b2b-4f87-ae01-8377b0e3513f",
"created_at": "2015-10-15T23:52:51Z",
"updated_at": null
},
"entity": {
"name": "name-2425",
"billing_enabled": false,
"quota_definition_guid": "ab3f44c4-a9a8-41fc-abaa-0669e72baa86",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/ab3f44c4-a9a8-41fc-abaa-0669e72baa86",
"spaces_url": "/v2/organizations/1207cb8e-4b2b-4f87-ae01-8377b0e3513f/spaces",
"domains_url": "/v2/organizations/1207cb8e-4b2b-4f87-ae01-8377b0e3513f/domains",
"private_domains_url": "/v2/organizations/1207cb8e-4b2b-4f87-ae01-8377b0e3513f/private_domains",
"users_url": "/v2/organizations/1207cb8e-4b2b-4f87-ae01-8377b0e3513f/users",
"managers_url": "/v2/organizations/1207cb8e-4b2b-4f87-ae01-8377b0e3513f/managers",
"billing_managers_url": "/v2/organizations/1207cb8e-4b2b-4f87-ae01-8377b0e3513f/billing_managers",
"auditors_url": "/v2/organizations/1207cb8e-4b2b-4f87-ae01-8377b0e3513f/auditors",
"app_events_url": "/v2/organizations/1207cb8e-4b2b-4f87-ae01-8377b0e3513f/app_events",
"space_quota_definitions_url": "/v2/organizations/1207cb8e-4b2b-4f87-ae01-8377b0e3513f/space_quota_definitions"
}
}
Headers