Script Library

Update an existing script's name and/or code.

put/v1/script-library/{script-id}

Request

  • Base URL
    http://127.0.0.1:8000
  • URL
    http://127.0.0.1:8000/v1/script-library/{script-id}
  • Auth
    HTTP bearer

Path parameters

script-idinteger required

Script ID

Request body

namestring required

Script name (alphanumeric, underscore, colon; must not start with digit or colon)

codestring required

NXSL source code

Response

Script updated successfully

idinteger

ID of the updated script

Changes