Update a topic by ID

PUT /topics/{id}

Path parameters

  • id string Required
application/json

Body Required

Responses

  • Successful response

PUT /topics/{id}
curl \
 -X PUT https://api.wei.co.mz/topics/64defab38b77c3fd125fb6c0 \
 -H "Content-Type: application/json" \
 -d '{"label":"Citologia","slug":"citologia","level":"secondary","subject":"biology"}'
Request example
{
  "label": "Citologia",
  "slug": "citologia",
  "level": "secondary",
  "subject": "biology"
}