annotation

Kemal::Controller::Delete

Annotation to define a Delete route for a controller method.

Parameters

  • path : String - The URL path for the route (can include path parameters like :id)
  • auth : Bool - If true, requires authentication via authenticate! method (default: false)
  • strip : Bool | Array(Symbol) - If true, strips all parameters; if array, strips only specified parameters (default: false)

See Kemal::Controller documentation for usage examples.