Manage EMQX ACL Rules
emqx_manage_authz_rulesCreate, delete, and read built-in-database ACL rules to define which users and clients can publish or subscribe to specific topics.
Instructions
Read and write built-in-database ACL rules that decide which topics a user or client may publish to and subscribe to.
Operations enabled on this server: create, delete, read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | Rules for create, e.g. [{"topic":"sensors/#","action":"subscribe","permission":"allow"}]. | |
| subject | No | The username or client id the rules apply to. | |
| operation | Yes | Action to perform; see the tool description. | |
| subject_type | No | Whether the rules attach to a username or a client id. | username |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||