Skip to contents

Clear payload history for specific endpoint or all endpoints

Usage

payload_history_clear(path = NULL)

Arguments

path

The URL path to clear history for, or NULL to clear all (default NULL)

Value

Number of entries that were cleared

Examples

if (interactive()) {
  # Clear history for specific endpoint
  cleared_count <- payload_history_clear("/api/data")

  # Clear all history
  total_cleared <- payload_history_clear()
}