[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Perform Bulk Session Action
DescriptionPerform bulk session action.
Request
URLURL
https://cloud.vmwarehorizon.com/portal/v1/sessions/bulklogoff
Query Parameters
Query Parameters
string
org_id
Optional
org_id
Request Body
Request Body
{
"actionType": "BULK_LOGOFF"
}
string
actionType
Optional
Action type: BULK_LOGOFF, BULK_DISCONNECT etc
Possible values are: BULK_DISCONNECT , BULK_LOGOFF
array of
string
sessionIds
Optional
Session/Udm ids on which action to be performed.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
202 Accepted
Returns
array
of
string
of type application/json
Successfully accepted session action
Errors
ErrorResponse
401
Unauthorized
ErrorResponse
403
Forbidden
ErrorResponse
404
Not Found
ErrorResponse
500
Unexpected internal server error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"actionType":"BULK_LOGOFF"}' https://cloud.vmwarehorizon.com/portal/v1/sessions/bulklogoff
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: bulkSessionActionReq
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen