Skip to content

Tags

toggl_api.modules.tag.TagEndpoint

Bases: TogglCachedEndpoint

get_tags(*, refresh: bool = False) -> list[TogglTag]

create_tag(name: str) -> TogglTag

update_tag(tag: TogglTag) -> TogglTag

Sets the name of the tag based on the tag object.

delete_tag(tag: TogglTag, **kwargs) -> None

Deletes a tag based on its id.