---
date: "2024-01-14T23:14:00-05:00"
tags:
  - pinboard
---

# [How to rename a tag in pinboard](https://tech-universe.net/posts/other/how-to-rename-a-tag-in-pinboard/)

```bash
curl "https://api.pinboard.in/v1/tags/rename?old=OldTag&new=NewTag&auth_token=YOUR_API_TOKEN"
```

I use tags for importing Pinboard bookmarks into my website. I wanted to rename tags when changing from https://www.danott.co to https://danott.website. There's no clear way in the Pinboard website. But this API endpoint did the trick!
