Get a StackScript

Returns all of the information about a specified StackScript, including the contents of the script.

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_viewer
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: stackscripts:read_only

CLI

linode-cli stackscripts view 10079

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
string
required

The ID of the StackScript to look up.

Responses

Language
Credentials
Response
Choose an example:
application/json