From 5370bd22838befb14f43be51d355a56ee4e22e36 Mon Sep 17 00:00:00 2001 From: Gray Williams Date: Fri, 31 Jul 2026 23:21:37 +0100 Subject: [PATCH] Update rest-api.md list hosts targeted in batch script (#50291) Adds required to `status` Resolves #50290 --- docs/REST API/rest-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/REST API/rest-api.md b/docs/REST API/rest-api.md index 2df62ecb68..7e6e3f41b0 100644 --- a/docs/REST API/rest-api.md +++ b/docs/REST API/rest-api.md @@ -11421,7 +11421,7 @@ Returns a list hosts targeted in a batch script run, along with their script exe | Name | Type | In | Description | | --------------------| ------- | ----- | -------------------------------------------- | | batch_execution_id | string | path | **Required**. The ID returned from a batch script run. | -| status | string | query | Filters to hosts with this script status. Either `"ran"`, `"pending"`, `"errored"`, `"incompatible"`, or "`canceled`". | +| status | string | query | **Required** Filters to hosts with this script status. Either `"ran"`, `"pending"`, `"errored"`, `"incompatible"`, or "`canceled`". | | page | integer | query | Page number of the results to fetch. | | per_page | integer | query | Results per page. | | order_key | string | query | What to order results by. Allowed fields are `display_name`, `hostname`, and `updated_at`. |