cURL
curl --request POST \ --url https://api.sequinstream.com/api/postgres_databases/{id_or_name}/test_connection \ --header 'Authorization: Bearer <token>'
{ "success": true }
Tests the connectivity and permissions for a configured Postgres database.
curl -X POST 'https://api.sequinstream.com/api/postgres_databases/production_rds/test_connection' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json'
true
false
success