SearchQueriesControllerDelete - метод
Delete search queries with specified identifiers.
Users without administrative permissions can delete their personal queries only.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpDeleteAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult> Delete(
[FromQueryAttribute] List<Guid> id,
CancellationToken cancellationToken = default
)
<HttpDeleteAttribute>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(204)>
Public Function Delete (
<FromQueryAttribute> id As List(Of Guid),
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult)
public:
[HttpDeleteAttribute]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult^>^ Delete(
[FromQueryAttribute] List<Guid>^ id,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpDeleteAttribute>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(204)>]
member Delete :
[<FromQueryAttribute>] id : List<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult>
- id ListGuid
- Identifiers of search queries to delete.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResult204 (No Content).