Remove an Account from a Hierarchy

delete

/bcws/webresources/v1.0/accounts/hierarchy/remove/{id}

Removes the specified account from an organization hierarchy.

Request

Path Parameters
Query Parameters
Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: array
Show Source
Request Body - application/json ()
Root Schema : schema
Type: array
Show Source
Back to Top

Response

200 Response

The account was successfully removed from the organization hierarchy.

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to remove an account from an organization hierarchy by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see "Use cURL".

cURL Command

curl -X DELETE 'http://hostname:port/bcws/webresources/v1.0/accounts/hierarchy/remove/0.0.0.1+-account+149726'

where:

  • hostname is the URL for the Billing Care REST server.
  • port is the port for the Billing Care REST server.
  • version is the version of the API you're using, such as v1.0.

Example of Response Body

If successful, the response code 200 is returned with no response body.

Back to Top