Blacklist
The blacklist is used to prohibit client connections from being matched and is suitable for restricting a small number of clients. The control of the blacklist will expire after the validity period.
Add Blacklist
From the left-navigation menu of EMQX Cloud Console, select Access Control -> Blacklist. Click + Add on the top right to add a client to the blacklist.

Type and Value
The client to be added to the blacklist can be identified by the following types. Set the target value according to the selected blacklist type:
- Client ID: Restrict a specific client by its client ID.
- Username: Restrict a specific client by its username.
- Client IP: IPv4 address.
Expiration Time
The maximum expiration time is 99 years. The minimum expiration time is 5 minutes, and it cannot be earlier than the current time.
Note
Flapping detection temporarily bans clients that connect too frequently. EMQX 6.3 and later support separate detection by Client ID, username, and source IP address. The enabled dimensions, thresholds, and ban duration depend on your deployment's configuration. See Flapping Detection Settings.
If the client's connection activity is expected, you can manually delete the corresponding blacklist entry and check whether the detection thresholds need adjustment.
Delete Blacklist
In the blacklist list, find the blacklist to be deleted, and click the Delete icon in the operation column to delete it.