delete https://api.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/user/$(userid)/topics?topics=$(topicid)
Request
The Unsubscribe User from Topics response is specified as follows:
URL | Unsubscribe Single user to multiple Topics | https://api.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/user/$(userid)/topics?topics=$(topicid) Example: http://rtmapp.imiconnect.com/rtmsAPI/api/v1/apps/BB20183142/user/2315/topics?topics=591d3af1e4b0be20f3fc3eb9,591d44c3e4b09eee109c1541, appid = BB20183142 Where userid = 2315, and topicid = 591d3af1e4b0be20f3fc3eb9, 591d44c3e4b09eee109c1541 |
Method | DELETE |
Request Headers
The following table describes the response 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_topics" : ["591d3af1e4b0be20f3fc3eb9"],
"fail_topics" : ["591d44c3e4b09eee109c1541"]
}