hey,
wonder if could unpin a topic with API call ?
https://docs.discourse.org/#tag/Topics/operation/updateTopicStatus
this one has no status to be set as unpinned.
thanks
hey,
wonder if could unpin a topic with API call ?
https://docs.discourse.org/#tag/Topics/operation/updateTopicStatus
this one has no status to be set as unpinned.
thanks
I believe (without testing) the payload you are looking for is:
{
"status": "pinned",
"enabled": "false"
}
Notice enabled
is a required parameter that determines whether or not the post has the status.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.