---
title: "Custom Network RTK Calibration"
method: POST
path: "/openapi/v2.0/device/{device_sn}/rtk"
tags: ["Device Management/Device Configuration/Calibration & Positioning", "Device Management"]
---

# Custom Network RTK Calibration

`POST /openapi/v2.0/device/{device_sn}/rtk`

## Request

- Base URL: `` (relative, and it does not resolve against the document’s source URL)
- URL: `/openapi/v2.0/device/{device_sn}/rtk`
- Auth: none required

Custom Network RTK Calibration. After a dock is deployed or moved, custom network RTK calibration is required so the dock can accurately determine its position.

:::tip[]
When the FlightHub 2 UI indicates that calibration is missing, call this interface to perform RTK calibration.
:::

## Path parameters

- `device_sn` string, required

## Headers

- `X-Request-Id` string, uuid
- `X-Language` 'zh' | 'en'
- `X-Project-Uuid` string, required
- `X-User-Token` string, required

## Request body

- object
  - `host` string, required: Server Address
  - `port` integer, required: Port
  - `account` string, required: Account
  - `password` string, required: Password
  - `mount_point` string, required: Mount Point

## Response `200`

- object
  - `code` integer, required: Non-zero Indicates Exception
  - `message` string, required: Message Prompt
  - `data` object, required: Business data, custom network RTK calibration command dispatch result
    - `bid` string, required: Business ID of this command, used to trace command chain
    - `status` string, required: Command dispatch status. ok means the custom network RTK configuration has been successfully sent to the dock; failure means dispatch failed. The actual calibration status can be obtained from the mode_code field via the thing model interface

## Other responses

- `400`: Invalid request parameters (incorrect format, missing required fields, etc.)
- `401`: Authentication failed (token invalid or expired)
- `403`: Insufficient permission (token does not have the corresponding permission in this project/organization)
- `500`: Server Internal Error

---

[API](https://skmtc.dev/dji/apis/flighthub-2-openapi-v2-0-public-cloud.md) - [All operations](https://skmtc.dev/dji/apis/flighthub-2-openapi-v2-0-public-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/dji/apis/flighthub-2-openapi-v2-0-public-cloud/revisions/aeef0010be34?raw)
