Update rest-api.md list hosts targeted in batch script (#50291)

Adds required to `status`

Resolves #50290
This commit is contained in:
Gray Williams
2026-07-31 17:21:37 -05:00
committed by GitHub
parent ba7168f54b
commit 5370bd2283
+1 -1
View File
@@ -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`. |