---
title: "Patch a destination."
method: PATCH
path: "/dataExport/destinations/{destinationId}"
---

# Patch a destination.

`PATCH /dataExport/destinations/{destinationId}`

Perform an incremental update to a destination.

## Path parameters

- `destinationId` string, required

## Query parameters

- `api-version` string, required

## Headers

- `If-Match` string

## Request body

- object

## Response `200`

Success

- Destination — The data export status definition.
  - `status` string — Indication of the current health and operation of the export or destination.
  - `errors` DataExportError[] — Errors encountered by the export or destination.
    - `code` string — The code for the error that occurred.
    - `message` string — The description of the error that occurred.
  - `lastExportTime` string, date-time — The timestamp of the last message that was sent to the export or destination.

## Other responses

- `default` — An error response received from the IoT Central Service.

---

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