Associate Billing Managed Organization with the User
PUT /v2/users/:guid/billing_managed_organizations/:billing_managed_organization_guid
Request
Route
PUT /v2/users/uaa-id-210/billing_managed_organizations/b52251e1-1439-4f32-90ab-e2f6554cbda5
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the User
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-210/billing_managed_organizations/b52251e1-1439-4f32-90ab-e2f6554cbda5" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMSIsImVtYWlsIjoiZW1haWwtMTY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5Njh9.oDyT4OD_EEagoV4Hd5iHYHmCiFKEJsVEwF8LBF-iOCU" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-210",
"url": "/v2/users/uaa-id-210",
"created_at": "2015-03-18T22:52:48Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "6b0fa5c5-1bfa-4e2a-86f3-0b463146f0b9",
"default_space_url": "/v2/spaces/6b0fa5c5-1bfa-4e2a-86f3-0b463146f0b9",
"spaces_url": "/v2/users/uaa-id-210/spaces",
"organizations_url": "/v2/users/uaa-id-210/organizations",
"managed_organizations_url": "/v2/users/uaa-id-210/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-210/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-210/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-210/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-210/audited_spaces"
}
}
Headers