Request
Body Params application/json
{
"allow_csv_upload": true,
"allow_ctas": true,
"allow_cvas": true,
"allow_dml": true,
"allow_multi_schema_metadata_fetch": true,
"allow_run_async": true,
"cache_timeout": 0,
"database_name": "string",
"encrypted_extra": "string",
"expose_in_sqllab": true,
"extra": "string",
"force_ctas_schema": "string",
"impersonate_user": true,
"server_cert": "string",
"sqlalchemy_uri": "string"
}
Request samples
curl --location --request PUT '/database/' \
--header 'Content-Type: application/json' \
--data-raw '{
"allow_csv_upload": true,
"allow_ctas": true,
"allow_cvas": true,
"allow_dml": true,
"allow_multi_schema_metadata_fetch": true,
"allow_run_async": true,
"cache_timeout": 0,
"database_name": "string",
"encrypted_extra": "string",
"expose_in_sqllab": true,
"extra": "string",
"force_ctas_schema": "string",
"impersonate_user": true,
"server_cert": "string",
"sqlalchemy_uri": "string"
}'
Responses
{
"id": 0,
"result": {
"allow_csv_upload": true,
"allow_ctas": true,
"allow_cvas": true,
"allow_dml": true,
"allow_multi_schema_metadata_fetch": true,
"allow_run_async": true,
"cache_timeout": 0,
"database_name": "string",
"encrypted_extra": "string",
"expose_in_sqllab": true,
"extra": "string",
"force_ctas_schema": "string",
"impersonate_user": true,
"server_cert": "string",
"sqlalchemy_uri": "string"
}
}
Modified at 2025-06-04 22:27:17