stackscript.update()

Update a StackScript.

Parameters

  • StackScriptID - numeric (required)
  • Label - string (optional) The Label for this StackScript
  • Description - string (optional)
  • DistributionIDList - string (optional) Comma delimited list of DistributionIDs that this script works on
  • isPublic - boolean (optional) Whether this StackScript is published in the Library, for everyone to use
  • rev_note - string (optional)
  • script - string (optional) The actual script

Example Response

{
   ERRORARRAY: [ ],
   DATA: {
      StackScriptID: 3718
   },
   ACTION: "stackscript.update"
}

Errors

NOTFOUND, VALIDATION