---
title: "Will activate the desired ONVIF preset."
method: POST
path: "/api/camera/onvif/gotopreset"
tags: ["onvif"]
---

# Will activate the desired ONVIF preset.

`POST /api/camera/onvif/gotopreset`

Will activate the desired ONVIF preset.

## Request body

- ModelsOnvifPreset
  - `onvif_credentials` ModelsOnvifCredentials
    - `onvif_password` string
    - `onvif_username` string
    - `onvif_xaddr` string
  - `preset` string

## Response `200`

OK

## Changes

- **2023-12-28** `124e36ea8b2a` — 2 info
  - api tag `onvif` added
  - api tag `camera` removed
- **2023-08-30** `5b27755b4b13` — 1 info
  - endpoint added
- **2020-12-29** `6170b062eece` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kerberos-io/apis/swagger-kerberos-agent-api/changes/api/camera/onvif/gotopreset/post.md)

---

[API](https://skmtc.dev/kerberos-io/apis/swagger-kerberos-agent-api.md) · [All operations](https://skmtc.dev/kerberos-io/apis/swagger-kerberos-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kerberos-io/swagger-kerberos-agent-api/revisions/fbda58840483/schema)
