Skip to main content
Skip table of contents

Updating the details of a topic

Request

To update a topic's details, send a PUT request to:

http://<host>:<port>/mib/v1/topics/{topicName}/devices

Headers

  • Content-Type: application/json

Mandatory fields

  • topicName (in both URL and payload) – the name of the topic
  • active – specify a value of true to keep the topic active. (true is the default.)

Example

A request with this payload adds a description to the topic:

CODE
{
  "topicName": "New-Videos",
  "description": "Topic to notify new videos available to watch",
  "active": true
}

Response

A successful request returns an HTTP 200 status.

An unsuccessful request returns an HTTP 404 status if the topic does not exist.

See also

For full details of this API, see the DMM API documentation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.