---
title: "POST /guilds/{guild_id}/bulk-ban"
method: POST
path: "/guilds/{guild_id}/bulk-ban"
---

# POST /guilds/{guild_id}/bulk-ban

`POST /guilds/{guild_id}/bulk-ban`

## Request body

- BulkBanUsersRequest
  - `user_ids` SnowflakeType[], required
  - `delete_message_seconds` integer, nullable

## Response `200`

200 response for bulk_ban_users_from_guild

- BulkBanUsersResponse
  - `banned_users` SnowflakeType[], required
  - `failed_users` SnowflakeType[], required

## Other responses

- `429` — Client ratelimited response
- `4XX` — Client error response

## Changes

- **2026-07-10** `44b84f6e3d3b` — 1 breaking
  - removed the success response with the status `204`
- **2026-07-10** `8057fc7ac219` — 1 info
  - added the success response with the status `204`
- **2026-07-10** `44b84f6e3d3b` — 1 breaking
  - removed the success response with the status `204`
- **2026-07-10** `8057fc7ac219` — 1 info
  - added the success response with the status `204`
- **2026-07-09** `44b84f6e3d3b` — 1 breaking
  - removed the success response with the status `204`

[Full history](https://skmtc.dev/discord/apis/discord-http-api-preview/changes/guilds/:guild_id/bulk-ban/post.md)

---

[API](https://skmtc.dev/discord/apis/discord-http-api-preview.md) · [All operations](https://skmtc.dev/discord/apis/discord-http-api-preview/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/discord/discord-http-api-preview/revisions/49efa428e0dd/schema)
