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
-
accountid(required): string
The ID of the account to delete a profile from.
-
serviceid(required): string
The ID of the service to delete a profile from.
-
type(required): string
The type of profile to delete.
There's no request body for this operation.
Back to TopResponse
200 Response
The profile was deleted successfully.
500 Response
An internal server error occurred.
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.