---
title: pydo.tags
description: A tag is a label that can be applied to a resource (currently Droplets, Images, Volumes, Volume Snapshots, and Database clusters) in order to better …
product: Reference
url: https://docs.digitalocean.com/reference/pydo/reference/tags/
last_updated: "2026-10-01"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# pydo.tags

Generated on 1 Oct 2026 from `pydo` version [`v0.43.0`](https://github.com/digitalocean/pydo/releases/tag/v0.43.0v0.43.0)

A tag is a label that can be applied to a resource (currently Droplets, Images, Volumes, Volume Snapshots, and Database clusters) in order to better organize or facilitate the lookups and actions on it.

Tags have two attributes: a user defined `name` attribute and an embedded `resources` attribute with information about resources that have been tagged.

[pydo.tags.assign_resources()](https://docs.digitalocean.com/reference/pydo/reference/tags/assign_resources/index.html.md): Tag a Resource

[pydo.tags.create()](https://docs.digitalocean.com/reference/pydo/reference/tags/create/index.html.md): Create a New Tag

[pydo.tags.delete()](https://docs.digitalocean.com/reference/pydo/reference/tags/delete/index.html.md): Delete a Tag

[pydo.tags.get()](https://docs.digitalocean.com/reference/pydo/reference/tags/get/index.html.md): Retrieve a Tag

[pydo.tags.list()](https://docs.digitalocean.com/reference/pydo/reference/tags/list/index.html.md): List All Tags

[pydo.tags.unassign_resources()](https://docs.digitalocean.com/reference/pydo/reference/tags/unassign_resources/index.html.md): Untag a Resource