SchemeControllerDeletePartition - метод

Delete partition. Returns true if partition 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("partitions/{id:guid}")]
[ProducesResponseTypeAttribute(200)]
public ValueTask<ActionResult<bool>> DeletePartition(
	[FromRouteAttribute] Guid id,
	CancellationToken cancellationToken = default
)

Параметры

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

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

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

См. также