Saved Sql Queries Update 2

PUT handler with superadmin lock and field protection.

Same as patch() - checks lock and field protection before delegating.

Authentication

AuthorizationBearer
JWT access token or Respan API key

Path parameters

idstringRequired

Request

This endpoint expects an object.
namestringRequired1-255 characters
querystringRequired>=1 character
descriptionstringOptional
plotting_configanyOptional

Response

idstringRead-only
namestring<=255 characters
querystring
sourceenum
  • sql_editor - SQL editor
  • dashboard_custom_chart - Dashboard custom chart
descriptionstring
plotting_configany