Set user database connection
Save MSSQL connection settings for the authenticated user and validate connectivity.
post/api/v1/mssql/connection
Request
- Base URL: https://localhost:3000
- URL: https://localhost:3000/api/v1/mssql/connection
- Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token)
Request body
Example request
{
"host": "myserver.mssql.database.azure.com",
"port": 5432,
"user": "db_user",
"password": "your-secure-password",
"database": "app_db",
"ssl": "require"
}Response
Database connection saved
Example response
{
"connector_id": "mssql",
"session_user": "user@example.com",
"port": 5432,
"ssl": "true"
}Changes
No recorded changes to this operation across all 1 revision of this API.