Skip to navigation

Update Gateways

Beta

Update, archive, or unarchive up to 25 gateways.

The gateways are written all-or-nothing: if any gateway fails, the request fails with the errors of the failed gateways, and none of the gateways are written.

Omitted fields are left unchanged, and fields sets only the configuration fields it includes. An archived gateway can be updated only by an update that also unarchives it.

To archive a gateway, set archived to true and provide an archiveReason. Archiving a gateway also archives its unarchived connections, with the same archive reason. If a connection can’t be archived, the request fails with an error for its gateway, but the gateway stays archived; archive it again to archive its remaining connections. To unarchive a gateway, set archived to false and omit archiveReason. Unarchiving a gateway doesn’t unarchive its connections.

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.
gatewayslist of objectsRequired
The gateway updates. Maximum 25.

Response

OK
gatewayslist of objectsOptional
The updated Gateways, in the order they were requested.

Errors

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