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-27/billing_managed_organizations/27fd0c8e-4a51-4f76-b2bb-9069073a7263
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-27/billing_managed_organizations/27fd0c8e-4a51-4f76-b2bb-9069073a7263" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4IiwiZW1haWwiOiJlbWFpbC0xNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5NjY0MTMyfQ.-3am9y9RbHQ-l5rhpGBViURfODY3FHA6krodpo11mDM" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-27",
"url": "/v2/users/uaa-id-27",
"created_at": "2015-04-15T00:55:32Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "20dc3876-3124-439e-88b8-b9770b1fb80f",
"default_space_url": "/v2/spaces/20dc3876-3124-439e-88b8-b9770b1fb80f",
"spaces_url": "/v2/users/uaa-id-27/spaces",
"organizations_url": "/v2/users/uaa-id-27/organizations",
"managed_organizations_url": "/v2/users/uaa-id-27/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-27/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-27/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-27/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-27/audited_spaces"
}
}
Headers