latestOpenAPI 3.0.02026-08-1033283.6 MB

b0608768680f

Message

Update topic by id

This endpoint is used to update topic

put/messages/topics/{id}

Path parameters

The ID of a topic to get information about this topic

Request body

created_atstring
idstring
is_activestring
namestring
updated_atstring

Example request

{
  "created_at": "2019-04-25T08:52:18.929Z",
  "name": "new topic by eddy",
  "updated_at": "2019-04-25T08:52:18.929Z"
}

Response

Update topic successfuly

is_activeboolean

default true

namestring

Non null

Example response

{
  "topic": {
    "is_active": "true",
    "name": "food"
  }
}