NB! It seems this console command is not compatible with CS2.
Command Profile

REMOVEIP

CS:GO

This command removes the specified IP address from your server's ban list.

Syntax
removeip [IP Address]

Description

This command removes the specified IP address from your server's ban list.

How To Use removeip

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter removeip [IP Address], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

removeip [IP Address]
IP Address The IP address you wish to unban.