curl --request DELETE \
  --url https://api.salesbricks.com/api/v2/usage \
  --header 'Content-Type: application/json' \
  --header 'X-SALESBRICKS-KEY: <api-key>' \
  --data '{
  "transaction_id": "54321"
}'
{
  "message": "Usage entry deleted successfully."
}

To use this endpoint, ensure that you are using the v2/usage API endpoint:

https://api.salesbricks.com/api/v2/usage

Authorizations

X-SALESBRICKS-KEY
string
header
required

Use your Salesbricks API key to authenticate requests.

Body

application/json
transaction_id
string

The unique identifier for the usage entry to delete.

Example:

"54321"

Response

200
application/json
Usage entry deleted successfully.
message
string
Example:

"Usage entry deleted successfully."