Update Connection Endpoint
PATCH
/v1/admin/connections/{connection_id}
const url = 'http://localhost:8080/v1/admin/connections/example';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"name":"example","direction":"source","config":{},"credentials":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url http://localhost:8080/v1/admin/connections/example \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "direction": "source", "config": {}, "credentials": {} }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” connection_id
required
Connection Id
string
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response Update Connection Endpoint V1 Admin Connections Connection Id Patch
object
key
additional properties
any
Example generated
{}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}