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
Body ()
Root Schema : schema
Type: object
Show Source
Back to Top

Response

201 Response

Back to Top