Authorization

Set rule for 'clientid'

put/authorization/sources/built_in_database/rules/clients/{clientid}

Request

  • Base URL: https://docs.emqx.com/api/v5
  • URL: https://docs.emqx.com/api/v5/authorization/sources/built_in_database/rules/clients/{clientid}
  • Auth: one of:
    • HTTP basic
    • bearerAuth (a scheme the document does not define)

Path parameters

clientidstring required

ClientID

Request body

clientidstring required

ClientID

Example request

{
  "rules": [
    {
      "topic": "test/topic/1",
      "permission": "allow",
      "action": "publish"
    }
  ],
  "clientid": "client1"
}

Response

Updated

Changes

No recorded changes to this operation across all 1 revision of this API.