[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Perform Bulk Session Action

Description

Perform bulk session action. Api currently supports single user.

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/portal/v2/sessions/bulklogoff
Copy

Query Parameters

Query Parameters

string
org_id Optional

org_id


Request Body

Request Body

BulkSessionActionReq of mimetype application/json Required

bulkSessionActionReq

{
	"actionType": "BULK_LOGOFF",
	"sessionIds": [
		"string"
	]
}
string
actionType Optional

Action type: BULK_LOGOFF, etc

Possible values are: BULK_LOGOFF


array of string
sessionIds Optional

Session/Udm ids on which action to be performed.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

202 Accepted

Created

Errors

Errors

401

Unauthorized


403

Forbidden


404

Not Found


500

Unexpected internal server error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"actionType":"BULK_LOGOFF","sessionIds":["string"]}' https://cloud.vmwarehorizon.com/portal/v2/sessions/bulklogoff
Vendor Extensions

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
Feedback

Was this page helpful?