/v1/scripts/:id

Update a script

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier of the Script resource you want to update

Body Params
string
required

The new name you want to associated to the script

string
required

A new javascript snippet (including HTML tags) to replace the old one

Headers
string

The workspace unique identifier of the workspace where the script has been created. If the script is in the main workspace, no workspace header must be specified.

Response

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json
// Bulk plan CTA banner: requested by Alison to promote the high-volume pricing plan. Injected in Footer HTML per ReadMe convention, but renderd at the top of the viewport via the fixed-position CSS above.
Sending 250K+ links a year? You qualify for a better rate. See high-volume pricing