stackscript.create()

Create a StackScript.

Parameters

  • Label - string (required) The Label for this StackScript
  • Description - string (optional)
  • DistributionIDList - string (required) 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 (required) The actual script

Example Response

{
   ERRORARRAY: [ ],
   DATA: {
      StackScriptID: 3
   },
   ACTION: "stackscript.create"
}

Errors

NOACCESS, VALIDATION