---
title: "PUT /cameras/{cameraId}/tunnel"
method: PUT
path: "/cameras/{cameraId}/tunnel"
tags: ["Cameras"]
---

# PUT /cameras/{cameraId}/tunnel

`PUT /cameras/{cameraId}/tunnel`

Opens a camera tunnel. As this API is intended for incidental access to the cameras UI, it should not be used for general API integration.

## Request body

- object

## Response `200`

OK

- union
  - object
    - `httpUrl` string, nullable, required — Unencrypted tunnel URL, if HTTPS is not enabled.
    - `httpsUrl` string, nullable — Encrypted tunnel URL when enabled at the account level.
  - object
    - `httpUrl` string, nullable — Unencrypted tunnel URL, if HTTPS is not enabled.
    - `httpsUrl` string, nullable, required — Encrypted tunnel URL when enabled at the account level.

## 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/revisions/df57313de545/schema)
