Delete Recurring Pricing Configs by Weekday --------------------------------------------- Delete all recurring (weekday-based) pricing schedule entries for a \ specific weekday on the given cost rate. On success, the response \ confirms the deletion. **Request** - Method: ``DELETE`` - Path: \ ``/api/dynamic_pricing/recurring_pricing_config/{cost_rate_uuid}/weekday/{weekday}`` **Path parameters** .. list-table:: :widths: 20 15 65 :header-rows: 1 * - Name - Type - Description * - cost_rate_uuid - string - UUID of the cost rate. * - weekday - integer - Weekday to delete schedules for. ``1`` = Monday … ``7`` = Sunday. **Example request** .. code-block:: bash curl --location --request DELETE 'https://example.beenergised.cloud/api/dynamic_pricing/recurring_pricing_config//weekday/1' \ --header 'x-api-token: ' **Response (200)** .. code-block:: json { "status": "ok", "message": "Recurring pricing config deleted successfully" } **Error responses** - ``404``: Cost rate or recurring pricing config not found. .. code-block:: json { "status": "error", "message": "Cost rate not found" } - ``400``: Validation error \ (e.g., the cost rate does not use recurring weekday pricing). .. code-block:: json { "status": "error", "message": "" } - ``500``: Generic server error. .. code-block:: json { "status": "error", "message": "Internal Server Error" }