API Introduction
Used to configure the read permission of a subscription group.
API Restrictions
None.
URl
POST https://[endpoint]/v2/group/updatePerm
Request Parameters
Request Parameters | Required or Not | Position | Parameter Type | Description |
prodInstId | Yes | body | String | Instance ID |
groupName | Yes | body | String | Subscription Group Name |
brokerNameList | Yes | body | List<String> | List of Broker Names |
enable | Yes | body | String | Enable or not. true: Enable. false: disable |
Response Parameter
Response Parameter | Parameter Type | Description |
statusCode | String | The status code of the interface on the system layer. Success: 800; failure: 900. |
message | String | Status Description |
returnObj | String | Return the object. The parameters included in this parameter are described in the comments in Response Examples. |
Sample Request
POST https://[endpoint]/v2/group/updatePerm
{
"prodInstId":"mq_test",
"groupName":"group",
"brokerNameList":[
"mq_test_broker_1"
],
"enable":"true"
}
Examples of a Successful Response
{
"returnObj":{
},
"message":"success",
"statusCode":800
}
Example of a Failed Response
{
"returnObj": {},
"message": "...",
"statusCode": "900"
}