token: ********************{
"label": "Updated Backup Configuration",
"script": "backup-config {\n destination ftp://new-backup-server/switch-configs/\n username backupuser\n password new-backuppass\n}",
"variables": [],
"switches": [
0
],
"node": "string"
}curl --location --request PUT '/admin/switchs/scripts/' \
--header 'token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"label": "Updated Backup Configuration",
"script": "backup-config {\n destination ftp://new-backup-server/switch-configs/\n username backupuser\n password new-backuppass\n}",
"variables": [],
"switches": [
0
],
"node": "string"
}'{
"success": true,
"data": {}
}