Hello!

I develop an android application and use tags for the user segmentations. It's very clear how to set tags using an appropriate method from SDK. But I didn't find any mentions how to remove those tags. For example:

Map<String, Object> tags = new HashMap<>();
tags.put("BooleanTag", true);
tags.put("StringTag", "hello");
tags.put("ListTag", new String[]{"first", "second", "third"});
PushManager.sendTags(this, tags, null);

What should I do to remove "ListTag" and "BooleanTag" from the PW, and keep only "StringTag"?

asked 05 Feb '16, 08:14
Vladimir's gravatar image

Vladimir
2114

edited 05 Feb '16, 08:15

Hello Vladimir,

To remove tags you can use a /setTags API request:

http://docs.pushwoosh.com/docs/settags

All you need to do is to set null as a value of your tag parameter.

permanent link
answered 26 Feb '16, 11:06
idedov's gravatar image

idedov
2363

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×64
×37

question asked: 05 Feb '16, 08:14

question was seen: 7,366 times

last updated: 26 Feb '16, 11:06