# 通过 API 创建用户时，绕过“每个注册 IP 的最大新帐户数”限制

**URL:** <https://meta.discourse.org/t/bypass-max-new-accounts-per-registration-ip-limit-when-creating-users-via-api/369352>\
**Category:** Support\
**Tags:** rest-api\
**Created:** [2025年六月9日 06:01 UTC](https://meta.discourse.org/t/bypass-max-new-accounts-per-registration-ip-limit-when-creating-users-via-api/369352 "2025-06-09T06:01:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![shufflepuff](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shufflepuff/32/429585_2.png) [@shufflepuff](https://meta.discourse.org/u/shufflepuff)\
**Post date:** [2025年六月9日 06:01 UTC](https://meta.discourse.org/t/bypass-max-new-accounts-per-registration-ip-limit-when-creating-users-via-api/369352/1 "2025-06-09T06:01:11Z")

</div>

您好，我正在使用全局 API 令牌在我的 Discourse 论坛中创建用户。 我注意到它停止工作了，并显示以下错误消息：

> 不允许从您的 IP 地址进行新的注册（已达到最大限制）。 请联系工作人员。

IP 地址始终相同，因为这些请求来自我的中央服务器。

我想知道是否可以开启任何设置，以便在通过 API 端点 `POST /users.json` 创建用户时禁用此检查，因为我不想将 `max_new_accounts_per_registration_ip` 设置为 `0`。

提前感谢！

---

_[View the full topic](https://meta.discourse.org/t/bypass-max-new-accounts-per-registration-ip-limit-when-creating-users-via-api/369352)._
