Update rest-api.md list hosts targeted in batch script (#50291)
Adds required to `status` Resolves #50290
This commit is contained in:
@@ -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`. |
|
||||
|
||||
Reference in New Issue
Block a user