Create a Custom Inventory Script
post
/api/v2/inventory_scripts/
Make a POST request to this resource with the following custom inventory script fields to create a new custom inventory script:
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)
Request
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
description(optional):
string
-
name:
string
-
organization:
integer
Organization owning this inventory script
-
script:
string