Associate Billing Manager with the Organization
PUT /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
PUT /v2/organizations/498b5e03-863b-470d-ad83-5a4fce659e5b/billing_managers/uaa-id-170
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/498b5e03-863b-470d-ad83-5a4fce659e5b/billing_managers/uaa-id-170" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MSIsImVtYWlsIjoiZW1haWwtMTE3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5Nzh9.LdU-SH883ZcR5BZIEkGqvQhWIhYvmeGrJ7HRD5GCAls" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "498b5e03-863b-470d-ad83-5a4fce659e5b",
"url": "/v2/organizations/498b5e03-863b-470d-ad83-5a4fce659e5b",
"created_at": "2016-01-13T17:29:38Z",
"updated_at": null
},
"entity": {
"name": "name-520",
"billing_enabled": false,
"quota_definition_guid": "35e83ded-84d8-43b2-bb0f-7da0cd08e65e",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/35e83ded-84d8-43b2-bb0f-7da0cd08e65e",
"spaces_url": "/v2/organizations/498b5e03-863b-470d-ad83-5a4fce659e5b/spaces",
"domains_url": "/v2/organizations/498b5e03-863b-470d-ad83-5a4fce659e5b/domains",
"private_domains_url": "/v2/organizations/498b5e03-863b-470d-ad83-5a4fce659e5b/private_domains",
"users_url": "/v2/organizations/498b5e03-863b-470d-ad83-5a4fce659e5b/users",
"managers_url": "/v2/organizations/498b5e03-863b-470d-ad83-5a4fce659e5b/managers",
"billing_managers_url": "/v2/organizations/498b5e03-863b-470d-ad83-5a4fce659e5b/billing_managers",
"auditors_url": "/v2/organizations/498b5e03-863b-470d-ad83-5a4fce659e5b/auditors",
"app_events_url": "/v2/organizations/498b5e03-863b-470d-ad83-5a4fce659e5b/app_events",
"space_quota_definitions_url": "/v2/organizations/498b5e03-863b-470d-ad83-5a4fce659e5b/space_quota_definitions"
}
}
Headers