FileVaultControllerDeleteFolder - метод
Deletes a folder.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[HttpDeleteAttribute("folder")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<FileVaultFolderDeleteResponse>> DeleteFolder(
[FromQueryAttribute] Guid id,
[FromQueryAttribute] bool withoutBackup = false,
CancellationToken cancellationToken = default
)
<HttpDeleteAttribute("folder")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function DeleteFolder (
<FromQueryAttribute> id As Guid,
<FromQueryAttribute> Optional withoutBackup As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of FileVaultFolderDeleteResponse))
public:
[HttpDeleteAttribute(L"folder")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<FileVaultFolderDeleteResponse^>^>^ DeleteFolder(
[FromQueryAttribute] Guid id,
[FromQueryAttribute] bool withoutBackup = false,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpDeleteAttribute("folder")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member DeleteFolder :
[<FromQueryAttribute>] id : Guid *
[<FromQueryAttribute>] ?withoutBackup : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _withoutBackup = defaultArg withoutBackup false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<FileVaultFolderDeleteResponse>>
- id Guid
- Folder ID.
- withoutBackup Boolean (Optional)
- Should the folder be deleted without going to garbage bin.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultFileVaultFolderDeleteResponseThe result of deleting the folder.