curl --request POST \ --url http://localhost:3000/api/v1/peers/create \ --header 'Authorization: Basic OmJsXPNrU3dhbjEyMw==' \ --header 'Content-Type: application/json' \ --data '{ "peer": { "name": "snowflake_peer_via_api", "type": 1, "snowflake_config": { "account_id": "account_id", "username": "username", "private_key":"***", "database": "database", "warehouse": "warehouse", "role": "role", "query_timeout": 30, "password": "password" } }, "allow_update":false }'
{ "status": "CREATED", "message": "" }
POST api/v1/peers/create
Show peer
Show snowflake_config
false
CREATED
FAILED