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-258/billing_managed_organizations/94247449-0692-48f9-831b-5a81c160da0f
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-258/billing_managed_organizations/94247449-0692-48f9-831b-5a81c160da0f" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMTgyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NzB9.7tAEndzViO4RYEj0dX_F3L7kuu3jWQwV2qOnhu85zHE" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-258",
"url": "/v2/users/uaa-id-258",
"created_at": "2015-03-03T00:51:10Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "d8ab9b2b-4689-4606-a0ea-6df17da6d39a",
"default_space_url": "/v2/spaces/d8ab9b2b-4689-4606-a0ea-6df17da6d39a",
"spaces_url": "/v2/users/uaa-id-258/spaces",
"organizations_url": "/v2/users/uaa-id-258/organizations",
"managed_organizations_url": "/v2/users/uaa-id-258/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-258/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-258/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-258/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-258/audited_spaces"
}
}
Headers