Remove Billing Managed Organization from the User
DELETE /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
DELETE /v2/users/uaa-id-80/billing_managed_organizations/3394c7a2-9459-47a3-abec-ab69fa42eae0
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-80/billing_managed_organizations/3394c7a2-9459-47a3-abec-ab69fa42eae0" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgxIiwiZW1haWwiOiJlbWFpbC01NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE1NzU0MTMzfQ.w0fCMGMUtTwb74TYlXxA7814WS5pRGl8y34oVKlWL60" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-80",
"url": "/v2/users/uaa-id-80",
"created_at": "2014-11-05T01:02:13+00:00",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "93e58571-111b-4f7b-bc45-eff7d81b17e9",
"default_space_url": "/v2/spaces/93e58571-111b-4f7b-bc45-eff7d81b17e9",
"spaces_url": "/v2/users/uaa-id-80/spaces",
"organizations_url": "/v2/users/uaa-id-80/organizations",
"managed_organizations_url": "/v2/users/uaa-id-80/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-80/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-80/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-80/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-80/audited_spaces"
}
}