Skip to content

Commit c542f79

Browse files
authored
Merge pull request #196 from Oscarlsson/oscarlsson/untagtag
Update README tag/untag users
2 parents 60b1413 + 266aa80 commit c542f79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ Tags
150150
.. code:: python
151151
152152
# Tag users
153-
tag = intercom.tags.tag_users(name='blue', users=[{'email': 'test1@example.com'}])
153+
tag = intercom.tags.tag(name='blue', users=[{'email': 'test1@example.com'}])
154154
# Untag users
155-
intercom.tags.untag_users(name='blue', users=[{'user_id': '42ea2f1b93891f6a99000427'}])
155+
intercom.tags.untag(name='blue', users=[{'user_id': '42ea2f1b93891f6a99000427'}])
156156
# Iterate over all tags
157157
for tag in intercom.tags.all():
158158
...

0 commit comments

Comments
 (0)