Delete Cost Rate ---------------- Delete a cost rate by UUID within the current mandant. This performs a \ cascade delete, removing all associated schedules, intervals, and versions. \ On success, the response confirms the deletion. **Request** - Method: ``DELETE`` - Path: ``/api/dynamic_pricing/cost_rate/{uuid}`` **Path parameters** .. list-table:: :widths: 20 15 65 :header-rows: 1 * - Name - Type - Description * - uuid - string - Cost rate UUID to delete. **Example request** .. code-block:: bash curl --location --request DELETE 'https://example.beenergised.cloud/api/dynamic_pricing/cost_rate/' \ --header 'x-api-token: ' **Response (200)** .. code-block:: json { "status": "ok", "message": "Cost rate deleted successfully" } **Error responses** - ``404``: Cost rate not found. .. code-block:: json { "status": "error", "message": "Cost rate not found" } - ``400``: Cost rate cannot be deleted \ (e.g., it is still referenced by active rate schedules). .. code-block:: json { "status": "error", "message": "Cost rate cannot be deleted" } - ``500``: Generic server error. .. code-block:: json { "status": "error", "message": "Internal Server Error" }