SettingsUnitsEditorControllerDeleteUnitRecord - метод

Removes existing settings unit record available for current session with specified name.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
C#
[HttpDeleteAttribute("units/{unitName}/{fragmentName}")]
[ConsumesAttribute("application/json", new string[] { ... })]
[TypedJsonBodyAttribute]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult> DeleteUnitRecord(
	[FromRouteAttribute] string unitName,
	[FromRouteAttribute] string? fragmentName,
	CancellationToken cancellationToken = default
)

Параметры

unitName  String
The unique settings unit name.
fragmentName  String
The unique name of the settings fragment within the settings unit.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskActionResult
Status204NoContent if SettingsUnitRecord was successfully removed.

См. также