DeleteSessions
Deletes the specified NICE DCV session and removes it from the Broker's cache.
Request parameters
SessionId
-
The ID of the session to delete.
Type: String
Required: Yes
Owner
-
The owner of the session to delete.
Type: String
Required: Yes
Force
-
Removes a session from the Broker's cache with attempting to delete it from the NICE DCV server. This is useful for removing outdated sessions from the Broker's cache. For example, if a NICE DCV server was stopped, but the sessions are still registered on the Broker, use this flag to purge the sessions from the Broker's cache.
Keep in mind that if the session is still active, it is re-cached by the Broker.
Valid values:
true
|false
Type: Boolean
Required: No
Response parameters
SessionId
-
The ID of the session
State
-
Only returned if the sessions were successfully deleted. Indicates the current state of the session. If the request completes successfully, the session transitions to the
DELETING
state. It could take a few minutes for the session to be deleted. When it has been deleted, the state transitions fromDELETING
toDELETED
. FailureReason
-
Only returned if some sessions could not be deleted. Indicates why the session could not be deleted.