Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Modify tags

Tobias Klika edited this page Apr 5, 2019 · 3 revisions

Add tags to the specified item:

bool isSuccess = await _client.AddTags(myPocketItem, new string[] { "css", "2013" });

Remove tags from the specified item:

bool isSuccess = await _client.RemoveTags(myPocketItem, new string[] { "css", "2013" });

Remove all tags from the specified item:

bool isSuccess = await _client.RemoveTags(myPocketItem);

Replaces all existing tags with new ones for the specified item:

bool isSuccess = await _client.ReplaceTags(myPocketItem, new string[] { "css", "2013" });

Renames a tag:

bool isSuccess = await _client.RenameTag("oldTagName", "newTagName");

Deletes a tag (therefore it is removed from all items):

bool isSuccess = await _client.DeleteTag("tagName");
Clone this wiki locally