subtopics
put/subtopics/{id}
Path parameters
idinteger required
id of the sub topic
Request body
Example request
{
"topicId": 1,
"name": "Subtopic A"
}Response
sub topic
Example response
{
"message": "accepted",
"data": {
"id": 1,
"topicId": 1,
"name": "Subtopic A"
}
}