from dub import Dub
with Dub(
token="DUB_API_KEY",
) as d_client:
res = d_client.tags.update(id="<id>")
# Handle response
print(res){
"id": "<string>",
"name": "<string>",
"color": "red"
}Update a tag in the workspace.
from dub import Dub
with Dub(
token="DUB_API_KEY",
) as d_client:
res = d_client.tags.update(id="<id>")
# Handle response
print(res){
"id": "<string>",
"name": "<string>",
"color": "red"
}Default authentication mechanism
The ID of the tag to update.
The name of the tag to create.
1 - 50The color of the tag. If not provided, a random color will be used from the list: red, yellow, green, blue, purple, brown.
red, yellow, green, blue, purple, brown, pink The name of the tag to create.
1Was this page helpful?