emqx_mgmt_api_banned.hocon 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. emqx_mgmt_api_banned {
  2. as.desc:
  3. """Ban method, which can be exact client ID, client ID regular expression, exact username, username regular expression,
  4. IP address or an IP address range."""
  5. as.label:
  6. """Ban Method"""
  7. at.desc:
  8. """The start time of the ban, the format is rfc3339, the default is the time when the operation was initiated."""
  9. at.label:
  10. """Ban Time"""
  11. by.desc:
  12. """Initiator of the ban."""
  13. by.label:
  14. """Ban Initiator"""
  15. create_banned_api.desc:
  16. """Add a client ID, username or IP address to the blacklist."""
  17. create_banned_api.label:
  18. """Ban client ID, username or IP address"""
  19. create_banned_api_response400.desc:
  20. """Bad request, possibly due to wrong parameters or the existence of a banned object."""
  21. delete_banned_api.desc:
  22. """Remove a client ID, username or IP address from the blacklist."""
  23. delete_banned_api.label:
  24. """Unban a client ID, username or IP address"""
  25. delete_banned_api_response404.desc:
  26. """The banned object was not found in the blacklist."""
  27. list_banned_api.desc:
  28. """List all currently banned client IDs, usernames and IP addresses."""
  29. list_banned_api.label:
  30. """List all banned client IDs"""
  31. reason.desc:
  32. """Ban reason, record the reason why the current object was banned."""
  33. reason.label:
  34. """Ban Reason"""
  35. until.desc:
  36. """The end time of the ban, the format is rfc3339, the default is the time when the operation was initiated + 1 year."""
  37. until.label:
  38. """Ban End Time"""
  39. who.desc:
  40. """Ban object, specific client ID, username or IP address."""
  41. who.label:
  42. """Ban Object"""
  43. clear_banned_api.desc:
  44. """Clear all banned data."""
  45. clear_banned_api.label:
  46. """Clear"""
  47. }