SessionController.DeleteSessionsForAccount Method |
Deletes all sessions associated with the account ID passed in.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpDeleteAttribute("Account/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<int> DeleteSessionsForAccount(
Guid id,
Guid? sessionId = null
)
<HttpDeleteAttribute("Account/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(440)>
Public Function DeleteSessionsForAccount (
id As Guid,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of Integer)
public:
[HttpDeleteAttribute(L"Account/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
ActionResult<int>^ DeleteSessionsForAccount(
Guid id,
Nullable<Guid> sessionId = nullptr
)
[<HttpDeleteAttribute("Account/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(440)>]
member DeleteSessionsForAccount :
id : Guid *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<int>
Parameters
- id
- Type: System.Guid
The account ID. - sessionId (Optional)
- Type: System.Nullable<Guid>
The current session ID.
Return Value
Type:
ActionResult<Int32>The operation completed successfully. The payload contains a
Int32 representing the number of sessions deleted.
See Also