PATCH
/
sources
/
{source_id}
/
models
/
{model_id}

Authorizations

Authorization
string
headerrequired

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

source_id
integer
required

ID of the source

model_id
integer
required

ID of the model

Body

application/json
name
string

The name of this model.

query
string

The SQL query associated with this model.

description
string

The description for this model.

Response

200 - application/json
status
enum<string>

Outcome of the operation.

Available options:
success,
updated,
created,
not_found,
error
data
object