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-323/billing_managed_organizations/d87f1bb4-8662-4584-b558-1f0ecf4babb8
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-323/billing_managed_organizations/d87f1bb4-8662-4584-b558-1f0ecf4babb8" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNCIsImVtYWlsIjoiZW1haWwtMjQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTV9.Sk6zEhQCchjj-H0Z5Ttq4xvo5BCP3PIrGOI09A8k0no" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-323",
"url": "/v2/users/uaa-id-323",
"created_at": "2015-10-13T17:31:55Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "046ca182-ce77-421f-b33d-ba6e5075b6c0",
"default_space_url": "/v2/spaces/046ca182-ce77-421f-b33d-ba6e5075b6c0",
"spaces_url": "/v2/users/uaa-id-323/spaces",
"organizations_url": "/v2/users/uaa-id-323/organizations",
"managed_organizations_url": "/v2/users/uaa-id-323/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-323/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-323/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-323/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-323/audited_spaces"
}
}
Headers