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-140/billing_managed_organizations/ddb5a220-4dce-4a56-b7af-d1d6acb95c43
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-140/billing_managed_organizations/ddb5a220-4dce-4a56-b7af-d1d6acb95c43" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MSIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYxOTh9.AAskQ5iA6De0HPeCsGIiwl2VTzbzfT6hzeGev-7XyIE" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-140",
"url": "/v2/users/uaa-id-140",
"created_at": "2015-08-06T00:36:38Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "2acea046-37dd-41b9-abb0-231ed9ba2a42",
"default_space_url": "/v2/spaces/2acea046-37dd-41b9-abb0-231ed9ba2a42",
"spaces_url": "/v2/users/uaa-id-140/spaces",
"organizations_url": "/v2/users/uaa-id-140/organizations",
"managed_organizations_url": "/v2/users/uaa-id-140/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-140/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-140/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-140/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-140/audited_spaces"
}
}
Headers