SchemeControllerDeleteFunction - метод

Delete function. Returns true if function has existed and was deleted. Method is available for administrators only.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpDeleteAttribute("functions/{id:guid}")]
[ProducesResponseTypeAttribute(200)]
public ValueTask<ActionResult<bool>> DeleteFunction(
	[FromRouteAttribute] Guid id,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
Identifier of function to delete.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

ValueTaskActionResultBoolean
true if function has existed and was deleted; false otherwise.

См. также