FileController.Delete Method (BatchDeleteOptions, Nullable<Guid>) |
Note: This API is now obsolete.
OBSOLETE - Use POST /File/Delete instead.
Deletes the files or folders with the specified IDs.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpPostAttribute]
[ObsoleteAttribute("Use /File/Delete to delete files or folders with the specified IDs.")]
public ActionResult<DeleteResultData> Delete(
[FromBodyAttribute] BatchDeleteOptions options,
Guid? sessionId = null
)
<HttpPostAttribute>
<ObsoleteAttribute("Use /File/Delete to delete files or folders with the specified IDs.")>
Public Function Delete (
<FromBodyAttribute> options As BatchDeleteOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of DeleteResultData)
public:
[HttpPostAttribute]
[ObsoleteAttribute(L"Use /File/Delete to delete files or folders with the specified IDs.")]
ActionResult<DeleteResultData^>^ Delete(
[FromBodyAttribute] BatchDeleteOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute>]
[<ObsoleteAttribute("Use /File/Delete to delete files or folders with the specified IDs.")>]
member Delete :
[<FromBodyAttribute>] options : BatchDeleteOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<DeleteResultData>
Parameters
- options
- Type: Dundas.BI.WebApi.Models.BatchDeleteOptions
Options affecting the behavior of the operation. - sessionId (Optional)
- Type: System.Nullable<Guid>
ID of the current session.
Return Value
Type:
ActionResult<DeleteResultData> A
DeleteResultData object or a reason for operation failure.
See Also