---
title: "PUT /v1/datasource/{uid}"
method: PUT
path: "/v1/datasource/{uid}"
tags: ["Datasource"]
---

# PUT /v1/datasource/{uid}

`PUT /v1/datasource/{uid}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `uid` string, required

## Request body

- MarksmanApiV1UpdateDatasourceRequest
  - `uid` string
  - `name` string
  - `type` integer
  - `driver` integer
  - `metadata` object
  - `url` string
  - `remark` string
  - `levelUid` string

## Response `200`

OK

- MarksmanApiV1UpdateDatasourceReply

## Changes

- **2026-03-25** `650c5b44c427`: 1 info
  - added the new optional request property `levelUid`
- **2026-03-02** `f5c29f4f5b75`: 2 info
  - added the new optional request property `remark`
  - added the new optional request property `url`
- **2026-02-28** `f5912329bb01`: 3 warning
  - removed the request property `levelUid`
  - removed the request property `remark`
  - removed the request property `url`

[Operation history](https://skmtc.dev/aide-family/apis/aide-family-marksman-api/changes/v1/datasource/:uid/put.md)

---

[API](https://skmtc.dev/aide-family/apis/aide-family-marksman-api.md) - [All operations](https://skmtc.dev/aide-family/apis/aide-family-marksman-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aide-family/apis/aide-family-marksman-api/revisions/26ae221fccba?raw)
