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-212/billing_managed_organizations/ea504cb9-1b1e-478e-b50c-669e8b1de518
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-212/billing_managed_organizations/ea504cb9-1b1e-478e-b50c-669e8b1de518" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMyIsImVtYWlsIjoiZW1haWwtMTY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5Njl9.l-oixeHHmblLSqfraTUbW22tsKiK3N_VzFKb6LCmzZY" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-212",
"url": "/v2/users/uaa-id-212",
"created_at": "2015-03-18T22:52:48Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "1d1d36b4-2be8-4439-890a-130d1c36c0af",
"default_space_url": "/v2/spaces/1d1d36b4-2be8-4439-890a-130d1c36c0af",
"spaces_url": "/v2/users/uaa-id-212/spaces",
"organizations_url": "/v2/users/uaa-id-212/organizations",
"managed_organizations_url": "/v2/users/uaa-id-212/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-212/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-212/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-212/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-212/audited_spaces"
}
}
Headers