update_widget
Build a PATCH payload to update specific sections of a ServiceNow widget. Provide the widget sys_id and only the sections you want to change.
Instructions
Build a PATCH payload to update specific sections of an existing widget.
Provide the widget sys_id and only the sections you want to change. Returns a PATCH payload ready to send to /api/now/table/sp_widget/{sys_id}.
Updatable sections: template, css, client_script, server_script, option_schema, demo_data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widget_sys_id | Yes | sys_id of the widget to update | |
| sections | Yes | Only include the sections you want to change |