Skip to content

Commit 26af295

Browse files
committed
Fixing tag and untag users snippets.
1 parent 60b1413 commit 26af295

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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': '[email protected]'}])
153+
tag = intercom.tags.tag(name='blue', users=[{'email': '[email protected]'}])
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)