Deletes Module
Contains operations for adding HTTP DELETE
endpoints.
Example
let app =
webApp {
delete "/api/clowns/{id}" (fun (db : IDataAccess) id -> Results.NoContent (db.Delete id))
}
let app =
webApp {
delete "/clowns/{id}" [
Status204NoContent, null
Status500InternalServerError, typeof<ProblemDetails>
] (fun (logger : ILogger<Program>) (db : IDataAccess) id ->
// ...
Results.NoContent ()
) (fun routeHandler ->
routeHandler.AddFilter<MyEndpointFilter> ()
)
}
Type extensions
Type extension | Description |
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b>
?configure : RouteHandlerBuilder -> 'a0
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c>
?configure : RouteHandlerBuilder -> 'd
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd>
?configure : RouteHandlerBuilder -> 'e
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e>
?configure : RouteHandlerBuilder -> 'f
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f>
?configure : RouteHandlerBuilder -> 'g
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g>
?configure : RouteHandlerBuilder -> 'h
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h>
?configure : RouteHandlerBuilder -> 'i
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>
?configure : RouteHandlerBuilder -> 'j
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
?configure : RouteHandlerBuilder -> 'k
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
?configure : RouteHandlerBuilder -> 'l
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l>
?configure : RouteHandlerBuilder -> 'm
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm>
?configure : RouteHandlerBuilder -> 'n
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n>
?configure : RouteHandlerBuilder -> 'o
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o>
?configure : RouteHandlerBuilder -> 'p
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
?configure : RouteHandlerBuilder -> 'q
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p, 'q>
?configure : RouteHandlerBuilder -> 'r
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b>
?configure : RouteHandlerBuilder -> 'a0
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c>
?configure : RouteHandlerBuilder -> 'd
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd>
?configure : RouteHandlerBuilder -> 'e
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e>
?configure : RouteHandlerBuilder -> 'f
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f>
?configure : RouteHandlerBuilder -> 'g
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g>
?configure : RouteHandlerBuilder -> 'h
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h>
?configure : RouteHandlerBuilder -> 'i
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>
?configure : RouteHandlerBuilder -> 'j
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
?configure : RouteHandlerBuilder -> 'k
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
?configure : RouteHandlerBuilder -> 'l
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l>
?configure : RouteHandlerBuilder -> 'm
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm>
?configure : RouteHandlerBuilder -> 'n
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n>
?configure : RouteHandlerBuilder -> 'o
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o>
?configure : RouteHandlerBuilder -> 'p
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
?configure : RouteHandlerBuilder -> 'q
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p, 'q>
?configure : RouteHandlerBuilder -> 'r
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b>
?configure : RouteHandlerBuilder -> 'c
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c>
?configure : RouteHandlerBuilder -> 'd
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd>
?configure : RouteHandlerBuilder -> 'e
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e>
?configure : RouteHandlerBuilder -> 'f
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f>
?configure : RouteHandlerBuilder -> 'g
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g>
?configure : RouteHandlerBuilder -> 'h
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h>
?configure : RouteHandlerBuilder -> 'i
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>
?configure : RouteHandlerBuilder -> 'j
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
?configure : RouteHandlerBuilder -> 'k
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
?configure : RouteHandlerBuilder -> 'l
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l>
?configure : RouteHandlerBuilder -> 'm
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm>
?configure : RouteHandlerBuilder -> 'n
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n>
?configure : RouteHandlerBuilder -> 'o
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o>
?configure : RouteHandlerBuilder -> 'p
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
?configure : RouteHandlerBuilder -> 'q
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern handler ?configure
Parameters:
Pattern
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p, 'q>
?configure : RouteHandlerBuilder -> 'r
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b>
?configure : RouteHandlerBuilder -> 'c
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c>
?configure : RouteHandlerBuilder -> 'd
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd>
?configure : RouteHandlerBuilder -> 'e
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e>
?configure : RouteHandlerBuilder -> 'f
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f>
?configure : RouteHandlerBuilder -> 'g
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g>
?configure : RouteHandlerBuilder -> 'h
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h>
?configure : RouteHandlerBuilder -> 'i
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>
?configure : RouteHandlerBuilder -> 'j
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j>
?configure : RouteHandlerBuilder -> 'k
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
?configure : RouteHandlerBuilder -> 'l
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l>
?configure : RouteHandlerBuilder -> 'm
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm>
?configure : RouteHandlerBuilder -> 'n
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n>
?configure : RouteHandlerBuilder -> 'o
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o>
?configure : RouteHandlerBuilder -> 'p
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p>
?configure : RouteHandlerBuilder -> 'q
Returns: WebApplication
|
Extended Type:
|
Full Usage:
delete pattern produces handler ?configure
Parameters:
Pattern
produces : (int * Type) list
handler : Func<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k, 'l, 'm, 'n, 'o, 'p, 'q>
?configure : RouteHandlerBuilder -> 'r
Returns: WebApplication
|
Extended Type:
|