Skip to content
Open the portal
Developer docs

Patch Connector

PATCH
/v1/connectors/{source_id}
curl --request PATCH \
--url https://example.com/v1/connectors/example \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "config": {}, "secret_ref": "example", "schedule_seconds": 1, "enabled": true, "reset_cursor": false }'
source_id
required
Source Id
string
Media typeapplication/json
ConnectorPatch
object
name
Any of:
string
config
Any of:
object
key
additional properties
any
secret_ref
Any of:
string
schedule_seconds
Any of:
integer
>= 30 <= 86400
enabled
Any of:
boolean
reset_cursor
Reset Cursor
boolean

Successful Response

Media typeapplication/json
Response Patch Connector V1 Connectors Source Id Patch
object
key
additional properties
any
Examplegenerated
{}

Validation Error

Media typeapplication/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
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}