Update a Custom Inventory Script
patch
/api/v2/inventory_scripts/{id}/
Make a PUT or PATCH request to this resource to update this custom inventory script. The following fields may be modified:
name
: Name of this custom inventory script. (string, required)description
: Optional description of this custom inventory script. (string, default=""
)script
: (string, required)organization
: Organization owning this inventory script (id, required)
For a PATCH request, include only the fields that are being modified.
Request
Supported Media Types
- application/json
Path Parameters
Query Parameters
-
search(optional): string
A search term.
Root Schema : schema
Type:
Show Source
object
-
description(optional):
string
-
name(optional):
string
-
organization(optional):
integer
Organization owning this inventory script
-
script(optional):
string