DashboardsControllerDeleteDashboard - метод
Deletes the dashboard by its identifier.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
[HttpDeleteAttribute("{dashboardID:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<PlainValidationResult>> DeleteDashboard(
[FromRouteAttribute] Guid dashboardID,
[FromBodyAttribute] DashboardToken? token = null,
CancellationToken cancellationToken = default
)
<HttpDeleteAttribute("{dashboardID:guid}")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<TypedJsonBodyAttribute>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function DeleteDashboard (
<FromRouteAttribute> dashboardID As Guid,
<FromBodyAttribute> Optional token As DashboardToken = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of PlainValidationResult))
public:
[HttpDeleteAttribute(L"{dashboardID:guid}")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[TypedJsonBodyAttribute]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<PlainValidationResult^>^>^ DeleteDashboard(
[FromRouteAttribute] Guid dashboardID,
[FromBodyAttribute] DashboardToken^ token = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpDeleteAttribute("{dashboardID:guid}")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<TypedJsonBodyAttribute>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member DeleteDashboard :
[<FromRouteAttribute>] dashboardID : Guid *
[<FromBodyAttribute>] ?token : DashboardToken *
?cancellationToken : CancellationToken
(* Defaults:
let _token = defaultArg token null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<PlainValidationResult>>
- dashboardID Guid
- Dashboard identifier.
- token DashboardToken (Optional)
Represents a secure, serializable token used for widgets access control.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultPlainValidationResultValidation result.