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

# PUT /v1/datasource/{uid}

`PUT /v1/datasource/{uid}`

## 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`

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

---

[API](https://skmtc.dev/aide-family/apis/untitled-api-3.md) · [All operations](https://skmtc.dev/aide-family/apis/untitled-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aide-family/untitled-api-3/revisions/26ae221fccba/schema)
