---
title: "Bulk Delete Hosts"
method: POST
path: "/api/hosts/bulk/delete"
tags: ["Host"]
---

# Bulk Delete Hosts

`POST /api/hosts/bulk/delete`

Delete selected hosts by ID.

## Request body

- BulkHostSelection — Model for bulk host selection by IDs
  - `ids` integer[]

## Response `200`

Successful Response

- RemoveHostsResponse — Response model for bulk host deletion
  - `hosts` string[], required
  - `count` integer, required

## Other responses

- `400` — BadRequest Error
- `401` — Unauthorized Error
- `403` — Forbidden Error
- `404` — NotFound Error
- `422` — Validation Error

---

[API](https://skmtc.dev/socialser/apis/pasarguardapi.md) · [All operations](https://skmtc.dev/socialser/apis/pasarguardapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socialser/pasarguardapi/revisions/4b082bbcb6c3/schema)
