---
title: "Set Destination Version"
method: PATCH
path: "/api/v1/alert-notifications/destinations/{destination_id}/version"
tags: ["alert-notifications"]
---

# Set Destination Version

`PATCH /api/v1/alert-notifications/destinations/{destination_id}/version`

## Request

- Base URL: `https://app.kaminari.ad`
- URL: `https://app.kaminari.ad/api/v1/alert-notifications/destinations/{destination_id}/version`
- Auth: HTTP bearer

Switch the destination's report-link version (public vs internal).

## Path parameters

- `destination_id` string, uuid, required

## Request body

- SetDestinationVersionRequest: Body for ``PATCH /api/internal/alert-notifications/destinations/{id}/version``.
  - `version` 'public' | 'internal', required: Per-destination preference for the scan-report link in alert messages. ``PUBLIC`` -> ``/public/scans/{id}`` (anonymous, no auth required). ``INTERNAL`` -> ``/scans/{id}`` (authenticated full report). Default is ``PUBLIC`` to preserve the historical behaviour of every Slack/Telegram destination linking to the public report.

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kaminari/apis/kaminari-ad-api.md) · [All operations](https://skmtc.dev/kaminari/apis/kaminari-ad-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kaminari/apis/kaminari-ad-api/revisions/013f86e2fd32?raw)
