Skip to main content
POST
/
admin
/
topic
/
update
Update the topic
curl --request POST \
  --url https://api.example.com/admin/topic/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "topicID": 123,
  "parentTopicID": 123,
  "languageID": 123,
  "topic": "<string>",
  "editions": [
    {
      "editionID": 123,
      "isFeatured": true
    }
  ]
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
topicID
integer<int32>
required
parentTopicID
integer<int32> | null
languageID
integer<int32> | null
topic
string | null
editions
object[] | null

Response

Success

success
boolean
data
unknown