# 更改“Made this a banner on”或“Closed on”的所有权（小型操作帖子）

**URL:** <https://meta.discourse.org/t/change-ownership-of-made-this-a-banner-on-or-closed-on-small-action-posts/210189>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [2021 年11 月 25 日 23:11 UTC](https://meta.discourse.org/t/change-ownership-of-made-this-a-banner-on-or-closed-on-small-action-posts/210189 "2021-11-25T23:11:32Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

作者： ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
发布日期： [2023 年9 月 28 日 10:08 UTC](https://meta.discourse.org/t/change-ownership-of-made-this-a-banner-on-or-closed-on-small-action-posts/210189/9 "2023-09-28T10:08:21Z")

</div>

我会试试 🙂

我获取了包含小型操作帖子的主题链接，并在末尾添加了 `/change-owner.json`，然后将其添加为 POST 请求到顶部栏（并在 Headers 选项卡中输入了我的 API-Key、API-Username 以及 Content-Type）：

 ![headers](https://global.discourse-cdn.com/meta/original/4X/0/b/0/0b0f6b6f9b2c2b9e4fb11f45083b743bb4cb2f1e.png)

然后我在 post.json 中查找了我想要更改的小型操作帖子的 `post_id`（例如 `/t/tag-test-topic-one/762/2.json`），并在 ‘form-data’ 下的 body 选项卡中添加了 `post_ids[]` 和 `username` 键值对：

 ![body](https://global.discourse-cdn.com/meta/original/4X/b/5/1/b5103e16f8970b594fb6506b7662c351465f02c2.png)

然后点击了“Send”按钮。 🎉

 ![owner changed](https://global.discourse-cdn.com/meta/original/4X/0/6/2/062649cb793d54b2eca860a5e6cc3a5db5d46c65.png)

---

_[View the full topic](https://meta.discourse.org/t/change-ownership-of-made-this-a-banner-on-or-closed-on-small-action-posts/210189)._
