Update the status of a topic
PUT/t/:id/status.json
Update the status of a topic
Request
Path Parameters
id stringrequired
Header Parameters
Api-Key stringrequired
Api-Username stringrequired
- application/json
Body
status stringrequired
Possible values: [closed
, pinned
, pinned_globally
, archived
, visible
]
enabled stringrequired
Possible values: [true
, false
]
until stringrequired
Only required for pinned
and pinned_globally
Responses
- 200
topic updated
- application/json
- Schema
- Example (from schema)
Schema
success stringrequired
topic_status_update stringnullrequired
{
"success": "OK"
}
Loading...