Remove Billing Managed Organization from the User
DELETE /v2/users/:guid/billing_managed_organizations/:billing_managed_organization_guid
Request
Route
DELETE /v2/users/uaa-id-362/billing_managed_organizations/45f47082-eba5-45c1-b1e1-c8162bedae8b
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-362/billing_managed_organizations/45f47082-eba5-45c1-b1e1-c8162bedae8b" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MyIsImVtYWlsIjoiZW1haWwtMjg0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDd9.zrujWd70TTQ2yM5QDq9Al_vDISsXN99-4lUj30dw_S8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-362",
"url": "/v2/users/uaa-id-362",
"created_at": "2015-05-07T23:37:27Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "53f7b377-1308-45f1-a237-9e4f986ad5cd",
"default_space_url": "/v2/spaces/53f7b377-1308-45f1-a237-9e4f986ad5cd",
"spaces_url": "/v2/users/uaa-id-362/spaces",
"organizations_url": "/v2/users/uaa-id-362/organizations",
"managed_organizations_url": "/v2/users/uaa-id-362/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-362/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-362/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-362/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-362/audited_spaces"
}
}
Headers