---
title: "PUT /short-urls/{currentCode}"
method: PUT
path: "/short-urls/{currentCode}"
---

# PUT /short-urls/{currentCode}

`PUT /short-urls/{currentCode}`

## Path parameters

- `currentCode` string, required

## Request body

- object
  - `code` string, required
  - `url` string, required
  - `note` string, nullable

## Response `200`

updateShortUrl 200 response

- ShortUrl
  - `id` integer, required
  - `code` string, required
  - `url` string, required
  - `note` string, required
  - `isSystem` boolean, required

---

[API](https://skmtc.dev/mamaearth/apis/mama-earth-api.md) · [All operations](https://skmtc.dev/mamaearth/apis/mama-earth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mamaearth/mama-earth-api/revisions/42b90383d711/schema)
