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-358/billing_managed_organizations/c9c44b0e-6999-4ff5-97ef-add102a65583
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the User
|
|
|
billing_managed_organization_guid
|
The guid of the billing managed organization
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-358/billing_managed_organizations/c9c44b0e-6999-4ff5-97ef-add102a65583" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1OSIsImVtYWlsIjoiZW1haWwtMjI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NTN9.9Q5kEQ-eiGkv3uOVFWueGJ5KlpCsNBObfhkS4_oxErM" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-358",
"url": "/v2/users/uaa-id-358",
"created_at": "2015-09-30T23:30:53Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "0fa87399-6698-42e8-9fee-625a141498b4",
"default_space_url": "/v2/spaces/0fa87399-6698-42e8-9fee-625a141498b4",
"spaces_url": "/v2/users/uaa-id-358/spaces",
"organizations_url": "/v2/users/uaa-id-358/organizations",
"managed_organizations_url": "/v2/users/uaa-id-358/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-358/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-358/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-358/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-358/audited_spaces"
}
}
Headers