Skip to main content
PUT
Update a Support Script

Authorizations

Authorization
string
header
required

A user API token, or a product API key created in a product's settings.

A product API key only works on the routes for its own product, under /api/orgs/{org_name}/products/{product_name}, and on /api/devices/{identifier} for that product's devices. What it may do there is decided by the role it holds, the same way a member's role decides what they may do.

Path Parameters

org_name
string
required

Organization Name

product_name
string
required

Product Name

id
string
required

Support Script ID

Body

application/json

Support Script update request body

PUT body for updating a Support Script

language
enum<string>
default:elixir

How the device should interpret text. Defaults to Elixir.

Available options:
elixir,
shell
name
string
tags

A list of tags, or one comma-separated string of them. A tag cannot contain spaces.

text
string

Response

Support Scripts

Response schema for a single Support Script

data
SupportScript · object
Example: