Delete Recurring Pricing Config
Delete a recurring (weekday-based) pricing schedule by UUID. On success, the response confirms the deletion.
Request
Method:
DELETEPath:
/api/dynamic_pricing/recurring_pricing_config/{uuid}
Path parameters
Name |
Type |
Description |
|---|---|---|
uuid |
string |
UUID of the recurring pricing schedule to delete. |
Example request
curl --location --request DELETE 'https://example.beenergised.cloud/api/dynamic_pricing/recurring_pricing_config/<SCHEDULE_UUID>' \
--header 'x-api-token: <your_token>'
Response (200)
{
"status": "ok",
"message": "Recurring pricing config deleted successfully"
}
Error responses
404: Cost rate or recurring pricing config not found.
{
"status": "error",
"message": "Cost rate not found"
}
400: Validation error (e.g., the cost rate does not use recurring weekday pricing).
{
"status": "error",
"message": "<validation message>"
}
500: Generic server error.
{
"status": "error",
"message": "Internal Server Error"
}