# Unpin a topic with API?

**URL:** https://meta.discourse.org/t/unpin-a-topic-with-api/296001
**Category:** Development
**Tags:** rest-api, pinned-topics
**Created:** [February 20, 2024, 4:55am UTC](https://meta.discourse.org/t/unpin-a-topic-with-api/296001 "2024-02-20T04:55:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fbpbdmin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fbpbdmin/32/300893_2.png) [@fbpbdmin](https://meta.discourse.org/u/fbpbdmin)
#### Post date: [February 20, 2024, 4:55am UTC](https://meta.discourse.org/t/unpin-a-topic-with-api/296001/1 "2024-02-20T04:55:49Z")

</div>

hey,  
wonder if could unpin a topic with API call ?

> **[Discourse API Docs](https://docs.discourse.org/#tag/Topics/operation/updateTopicStatus)**

this one has no status to be set as unpinned.

thanks

---

<div class="post-metadata">

### Author: ![jericson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jericson/32/116215_2.png) [@jericson](https://meta.discourse.org/u/jericson)
#### Post date: [February 20, 2024, 5:41am UTC](https://meta.discourse.org/t/unpin-a-topic-with-api/296001/2 "2024-02-20T05:41:05Z")

</div>

I believe (without testing) the payload you are looking for is:

```plaintext
{
   "status": "pinned",
   "enabled": "false"
}

```

Notice `enabled` is a required parameter that determines whether or not the post has the status.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 21, 2024, 5:41am UTC](https://meta.discourse.org/t/unpin-a-topic-with-api/296001/3 "2024-03-21T05:41:47Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
