Skip to content

Update Connection Endpoint

PATCH
/v1/admin/connections/{connection_id}
curl --request PATCH \
--url http://localhost:8080/v1/admin/connections/example \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "direction": "source", "config": {}, "credentials": {} }'
connection_id
required
Connection Id
string
Media type application/json
UpdatePayload
object
name
Any of:
string
>= 1 characters <= 128 characters /^[A-Za-z0-9 _\-.]+$/
direction
Any of:
string
Allowed values: source destination both
config
Any of:
object
key
additional properties
any
credentials
Any of:
object
key
additional properties
any

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>
ValidationError
object
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": {}
}
]
}