Modify a Connector state
Modifies the connector state. This endpoint is only supported for function connectors.
Request schema
Path parameters
connectorId
stringrequired
The unique identifier for the connector within the Fivetran system
example:
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
example:
application/json;version=2
default:
application/json;version=2
Request
state
object
example:
Http + 1.1
PATCH
https://api.fivetran.com/v1/connectors/null/state
PATCH /v1/connectors/null/state HTTP/1.1
Accept: application/json;version=2
Authorization: Basic REPLACE_BASIC_AUTH
Host: api.fivetran.com
Responses
200
Successful response
400
The connector state doesn't exist.
404
Connector not found error.
405
Not a function connector error.
409
Connector cannot be updated because the sync is in progress.
Successful response schema
code
stringrequired
Response status code
example:
message
string
Response status text
example:
data
objectrequired
state
object
example:
null