ServerGroupController.DeleteServerGroup Method |
Delete a server group.
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("{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<bool> DeleteServerGroup(
long id,
Guid? sessionId = null
)
<HttpDeleteAttribute("{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(440)>
Public Function DeleteServerGroup (
id As Long,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of Boolean)
public:
[HttpDeleteAttribute(L"{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
ActionResult<bool>^ DeleteServerGroup(
long long id,
Nullable<Guid> sessionId = nullptr
)
[<HttpDeleteAttribute("{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(440)>]
member DeleteServerGroup :
id : int64 *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<bool>
Parameters
- id
- Type: System.Int64
The ID of the server group to be deleted. - sessionId (Optional)
- Type: System.Nullable<Guid>
ID of the current session.
Return Value
Type:
ActionResult<Boolean>The operation completed successfully. The payload contains a
Boolean value of
true if the server group was found; otherwise,
false.
See Also