delete https://api.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/topics/$(topicid)/users?users=$(users)
This API is used to unsubscribe user from a topic.
The **Unsubscribe Users from a Topic response is specified as follows:
URL | Unsubscribe Multiple Users from a Topic | https://api.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/topics/$(topicid)/users?users=$(users) For example: In the URL http://api.imiconnect.io/rtmsAPI/api/v1/apps/BB20183142/topics/591d44c3e4b09eee109c1541/users?users=2315,2365,2335,5894, Where |
Method | DELETE |
Request Headers
Request Header | Description |
---|---|
secretKey | Secret key generated in backend application. |
content-type | application/json |
Response Example
{
"trans_id" : "f2cc5fca-715e-4a86-b457-574bb7ba48d4",
"description" : "Failed",
"code" : 1,
"success_users" : ["2315","2335"],
"fail_users" : ["5894","2365"]
}