Associate Billing Manager with the Organization
PUT /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
PUT /v2/organizations/072638d9-a0b6-4e7b-af7d-3833de53eb2e/billing_managers/uaa-id-395
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/072638d9-a0b6-4e7b-af7d-3833de53eb2e/billing_managers/uaa-id-395" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5NiIsImVtYWlsIjoiZW1haWwtMjk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1Mzd9.uz4eAEctgHiWJxI7PucZS6iTPJsrAxzi2szV1UdLmkw" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "072638d9-a0b6-4e7b-af7d-3833de53eb2e",
"url": "/v2/organizations/072638d9-a0b6-4e7b-af7d-3833de53eb2e",
"created_at": "2015-11-30T23:38:57Z",
"updated_at": null
},
"entity": {
"name": "name-2464",
"billing_enabled": false,
"quota_definition_guid": "025ef015-629f-40c6-a0d1-90a619d53669",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/025ef015-629f-40c6-a0d1-90a619d53669",
"spaces_url": "/v2/organizations/072638d9-a0b6-4e7b-af7d-3833de53eb2e/spaces",
"domains_url": "/v2/organizations/072638d9-a0b6-4e7b-af7d-3833de53eb2e/domains",
"private_domains_url": "/v2/organizations/072638d9-a0b6-4e7b-af7d-3833de53eb2e/private_domains",
"users_url": "/v2/organizations/072638d9-a0b6-4e7b-af7d-3833de53eb2e/users",
"managers_url": "/v2/organizations/072638d9-a0b6-4e7b-af7d-3833de53eb2e/managers",
"billing_managers_url": "/v2/organizations/072638d9-a0b6-4e7b-af7d-3833de53eb2e/billing_managers",
"auditors_url": "/v2/organizations/072638d9-a0b6-4e7b-af7d-3833de53eb2e/auditors",
"app_events_url": "/v2/organizations/072638d9-a0b6-4e7b-af7d-3833de53eb2e/app_events",
"space_quota_definitions_url": "/v2/organizations/072638d9-a0b6-4e7b-af7d-3833de53eb2e/space_quota_definitions"
}
}
Headers