Delete a Profile by Account or Service

delete

/bcws/webresources/v1.0/profiles

Deletes a profile from the specified account or service.

Request

Query Parameters

There's no request body for this operation.

Back to Top

Response

200 Response

The profile was deleted successfully.

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to delete a loan profile for an account 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/version/profiles?type=/profile/loan&accountid=123'

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 OK in the response body.

Back to Top