Stone.js API
    Preparing search index...
    • A method decorator for defining HTTP DELETE routes.

      Parameters

      • path: string | string[]

        The route path for the DELETE endpoint.

      • Optionaloptions: DeleteOptions

        Optional configuration for the route.

      Returns MethodDecorator

      A method decorator configured for a DELETE route.

      @Delete('/resource/:id')
      deleteResource() {
      return 'Resource deleted';
      }