Skip to content

Delete a Tag#

Let's assume we want to delete the tag test_tag from the create tag recipe.

This is what the deletion would look like in the TickTick app:

This is what the pyticktick equivalent would look like:

from pyticktick import Client

client = Client()
resp = client.delete_tag_v2(data={"name": "test_tag"})

This will not return anything.

from pyticktick import Client
from pyticktick.models.v2 import DeleteTagV2

client = Client()
client.delete_tag_v2(data=DeleteTagV2(name="test_tag"))

This will not return anything.