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

# Bulk Enable Hosts

`POST /api/hosts/bulk/enable`

Enable selected hosts by ID.

## Request body

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

## Response `200`

Successful Response

- BulkHostsActionResponse — Response model for bulk host actions.
  - `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/ha-man2/apis/pasarguardapi.md) · [All operations](https://skmtc.dev/ha-man2/apis/pasarguardapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ha-man2/pasarguardapi/revisions/84d9ff88fcda/schema)
