Saved Sql Queries List Partial Update

PATCH handler with superadmin lock and field protection.

Checks:

  1. Object lock (is_managed=True -> non-superadmins can’t modify)
  2. Field protection (non-superadmins can’t modify specific fields)

Authentication

AuthorizationBearer
JWT access token or Respan API key

Request

This endpoint expects an object.
namestringOptional1-255 characters
descriptionstringOptional
querystringOptional>=1 character
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