Skip to navigation

Batch update Connection

Beta

Update, archive, or unarchive multiple connections synchronously. Maximum 25 items per request. If any item fails, no changes are saved in Benchling. The service that runs connections on their gateways isn’t part of that transaction, so archiving, unarchiving, adapter field, and enabled state changes it has already applied for the request may remain after the request fails.

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

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Request

This endpoint expects an object.
itemslist of objectsRequired

Response

OK
itemslist of objects

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error