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

Response

200 Response

Back to Top