Delete a Sharing Group
delete
/bcws/webresources/v1.0/sharing/{id}
Delete the sharing group that matches the specified ID.
Both the id parameter and the type query parameter are required.
Request
Path Parameters
-
id(required): string
The ID of the sharing group.
Query Parameters
-
type(required): string
The type of sharing group: charge, discount, product, or profile.
There's no request body for this operation.
Back to TopResponse
204 Response
The sharing group was deleted successfully.
500 Response
An internal server error occurred.
Examples
This example shows how to get delete a product sharing group 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/sharing/0.0.0.1+-group-sharing-products+215427?type=product'
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 204 is returned with no response body.