CmdID / aws / aws ivschat
aws ivschat disconnect-user
Disconnects all connections using a specified user ID from a room. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To disconnect a user from a room
The following disconnect-user example disconnects all connections for the specified user from the specified room. On success it returns HTTP 200 with an empty response body.
aws ivschat disconnect-user --room-identifier "arn:aws:ivschat:us-west-2:12345689012:room/g1H2I3j4k5L6" --user-id "ABC123def456" --reason "Violated terms of service"Identify--room-identifierIdentifier of the room from which the user's clients should be disconnected.--user-idID of the user (connection) to disconnect from the room.--reasonReason for disconnecting the user.This command produces no output.
For more information, see Getting Started with Amazon IVS Chat in the Amazon Interactive Video Service User Guide.
Options
--reasonReason for disconnecting the user.--room-identifierIdentifier of the room from which the user's clients should be disconnected.--user-idID of the user (connection) to disconnect from the room.