CardsControllerDeleteQuery - метод

Delete card with attributes specified in route and query.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpDeleteAttribute("{id:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<CardDeleteResponse>> DeleteQuery(
	[FromRouteAttribute] Guid id,
	[FromQueryAttribute] string? type = null,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
Card identifier to delete.
type  String  (Optional)
Type identifier or name to delete. Omit the type if its not virtual.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

Возвращаемое значение

TaskActionResultCardDeleteResponse
Response to the request.

См. также