Update a StackScript

Updates a StackScript.

Once a StackScript is made public, it cannot be made private.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Roles: stackscript_admin
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: stackscripts:read_write

CLI

linode-cli stackscripts update 10079 \
  --label a-stackscript \
  --description "This StackScript installs \
    and configures MySQL" \
  --images "linode/debian9" \
  --images "linode/debian8" \
  --is_public true \
  --rev_note "Set up MySQL" \
  --script '#!/bin/bash'

Learn more

Language
Credentials