Skip to main content
PATCH
Enable or disable a source connector

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Path Parameters

project_id
string
required
source_id
string
required

Body

application/json

enabled is the only mutable field; every other key is ignored.

enabled
boolean
required

Response

Updated.

ok
enum<boolean>
required
Available options:
true