API: Delete Counter

Request

Soft delete a specific counter by ID:

DELETE /counters/{id}

Sample Response:


{
  "status": "success",
  "message": "Counter deleted successfully"
}
                

Notes:

  • The counter ID is required in the URL to specify which counter to delete.
  • If the counter does not exist, the API will return an error response.