redis-cli CLIENT KILL ID 123

Category: Databases & SQL

redis-cli CLIENT KILL ID 123

Disconnect a client by ID

Terminates the connection whose ID comes from CLIENT LIST. The client's next command fails and the application reconnects, so use it for stuck or abusive connections. CLIENT KILL supports filters like ADDR and TYPE too.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.