Saved Sql Queries List Update

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

Request

This endpoint expects an object.
namestringRequired1-255 characters
querystringRequired>=1 character
descriptionstringOptional
plotting_configanyOptional
sourceenumOptional
  • sql_editor - SQL editor
  • dashboard_custom_chart - Dashboard custom chart

Response

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