Update Connection
Update a connection, or archive or unarchive it.
Omitted fields are left unchanged. Setting associatedEquipmentIds or automationTemplateIds replaces the connection’s equipment or automation template associations.
To archive a connection, set archived to true and provide an archiveReason. To unarchive a connection, set archived to false and omit archiveReason. A connection can’t be unarchived while any of its equipment is associated with another unarchived connection.
Archiving or unarchiving a connection also archives or unarchives it in the service that runs connections on their gateways, which also stores its adapter fields and enabled state.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
Set to true to access beta operations via /api/v3.
Request
Values for the adapter’s configuration fields, keyed by field ID. Fields that aren’t included are left unchanged, and a field set to null is cleared.
Why it is being archived. Required when archived is true, and not allowed when unarchiving.
Set to true to archive or false to unarchive it. Archiving requires archiveReason.
The API IDs of the automation templates run on files synced by the connection. Each template must have no data frame variables and exactly one config variable, keyed fileId or fileIds.
Response
The Adapter type this Connection uses, e.g. “chromeleon-adapter”. Cannot be changed after creation.
ID of the Gateway this Connection runs on, e.g. “gtw_8MSOq4Gf”. Cannot be changed after creation. Null if the Gateway couldn’t be loaded.