---
title: "PATCH /bridges/{bridgeId}:swap"
method: PATCH
path: "/bridges/{bridgeId}:swap"
tags: ["Bridges"]
---

# PATCH /bridges/{bridgeId}:swap

`PATCH /bridges/{bridgeId}:swap`

Swap bridge with a new one.
The original bridge must be offline and disconnected, if not API is going to throw 400 error.
If the GUID is not added to the account or GUID has already been attached to another account API is going to throw 404 error.
If the provided GUID is in wrong format, API is going to throw 400 error.

## Request body

- BridgeSwap
  - `guid` string, uuid — Represents a new bridge

## Response `204`

Bridge swap operation success.

## Other responses

- `400` — The supplied object is invalid. Error detail will contain the validation error.
- `401` — You are not authenticated. Please authenticate and try again.
- `403` — You have no permission to access the specified resource.
- `404` — Referenced resource could not be found.
- `500` — Something went wrong in the server. Please try again.

---

[API](https://skmtc.net/eagleeyenetworks/apis/devices.md) · [All operations](https://skmtc.net/eagleeyenetworks/apis/devices/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eagleeyenetworks/devices/versions/df57313de545/schema)
