Associate Billing Managed Organization with the User
PUT /v2/users/:guid/billing_managed_organizations/:billing_managed_organization_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the User
|
|
|
Request
Headers
Route
PUT /v2/users/uaa-id-36/billing_managed_organizations/5de38202-8f10-40a4-9d0e-061a79e264db
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-36/billing_managed_organizations/5de38202-8f10-40a4-9d0e-061a79e264db" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3IiwiZW1haWwiOiJlbWFpbC0xN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyMzIzNTI5fQ.m7iAjavwRDh6rZ62pN7B4DQ4MRLdUtHb74eDJyCBW_E" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-36",
"url": "/v2/users/uaa-id-36",
"created_at": "2015-01-20T01:52:09+00:00",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "6803717d-9ac5-48af-8a5c-02f793a8903b",
"default_space_url": "/v2/spaces/6803717d-9ac5-48af-8a5c-02f793a8903b",
"spaces_url": "/v2/users/uaa-id-36/spaces",
"organizations_url": "/v2/users/uaa-id-36/organizations",
"managed_organizations_url": "/v2/users/uaa-id-36/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-36/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-36/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-36/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-36/audited_spaces"
}
}