---
id: databaserestapi-post
title: 'DatabaseRestApi.post'
description: ''
sidebar_label: 'DatabaseRestApi.post'
hide_title: true
hide_table_of_contents: true
schema: true
sample:
{
'allow_ctas': true,
'allow_cvas': true,
'allow_dml': true,
'allow_file_upload': true,
'allow_run_async': true,
'cache_timeout': 0,
'database_name': 'string',
'driver': 'string',
'engine': 'string',
'expose_in_sqllab': true,
'external_url': 'string',
'extra': 'string',
'force_ctas_schema': 'string',
'impersonate_user': true,
'is_managed_externally': true,
'masked_encrypted_extra': 'string',
'parameters': {},
'server_cert': 'string',
'sqlalchemy_uri': 'string',
'ssh_tunnel':
{
'id': 0,
'password': 'string',
'private_key': 'string',
'private_key_password': 'string',
'server_address': 'string',
'server_port': 0,
'username': 'string',
},
'uuid': 'string',
}
custom_edit_url: null
---
import Schema from '@theme/Schema';
import Heading from '@theme/Heading';