Skip to main content
POST
Add one connector to an agent

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Path Parameters

id
string
required
Required string length: 1 - 160

Body

application/json
connectionId
string

The connector's id. Send this or name, not both.

Required string length: 1 - 160
name
string

The connector's name, matched without regard to case or extra spaces. It has to match exactly one connector the caller can use.

Required string length: 1 - 160

Response

The connector was added or removed, or nothing needed to change.

changed
boolean
required

False when the agent already had the connector, or already did not: nothing was written.

connectionId
string
required
Required string length: 1 - 160
name
string
required
Maximum string length: 160
enabled
boolean
required

Whether the agent may use the connector after this call.