Skip to main content
PUT
/
api
/
tools
/
sql-connections
/
{name}
Upsert Sql Connection
curl --request PUT \
  --url https://api.example.com/api/tools/sql-connections/{name} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "connection_url": "<string>"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.xagent.run/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

name
string
required

Body

application/json
connection_url
string
required

Response

Successful Response

The response is of type Response Upsert Sql Connection Api Tools Sql Connections Name Put · object.