v1
latestSwagger 2.02026-07-1324555.3 KBwebpubsub
Grant permission to the connection.
put/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}
Path parameters
hubstring required
Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore.
permission'sendToGroup' | 'joinLeaveGroup' required
The permission: current supported actions are joinLeaveGroup and sendToGroup.
connectionIdstring required
Target connection Id.
Query parameters
targetNamestring
The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter standing for the group name.
api-versionstring required
The version of the REST APIs.
Response
Success