> For the complete documentation index, see [llms.txt](https://sentineldocs.metatable.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sentineldocs.metatable.dev/open-cloud-api/v1/routes/bansapi/ban-async.md).

# /ban-async

{% hint style="danger" %}
Bans published through this endpoint **will not** execute the following actions unless initiated via the Discord slash command:

* **Notify the banned user** (if notifications are enabled).
* **Forcefully disconnect the client** using MessagingService via the Roblox Open Cloud API.

This limitation exists because the Sentinel API does not directly handle these enforcement actions. Instead, these tasks are managed by the Sentinel Discord bot when a ban is issued through the `/ban` command.

**Future Considerations**

We may explore expanding the API to include these functionalities in the future, allowing for more automated enforcement directly from API calls.

**Roblox `BanAsync` Integration**

If `BanAsync` is enabled in your game, it will automatically force-disconnect the banned client upon execution, ensuring immediate removal without requiring additional enforcement from Sentinel.
{% endhint %}

{% openapi src="/files/wBeDCr1FtmoTWkQ82zps" path="/ban-async" method="post" %}
[openapi3\_0 (1).json](https://3533882855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5BhBbg2wEnqMJWVttjBY%2Fuploads%2FOKG169oZpJfQgIZtiTyE%2Fopenapi3_0%20\(1\).json?alt=media\&token=d40f090a-da79-42bf-a818-2967378fa642)
{% endopenapi %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sentineldocs.metatable.dev/open-cloud-api/v1/routes/bansapi/ban-async.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
