From 26af29543ac2b4eabe5cec299ab1993150646163 Mon Sep 17 00:00:00 2001 From: John Keyes Date: Wed, 25 Oct 2017 08:20:10 +0000 Subject: [PATCH] Fixing tag and untag users snippets. --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 789efb72..f89e7803 100644 --- a/README.rst +++ b/README.rst @@ -150,9 +150,9 @@ Tags .. code:: python # Tag users - tag = intercom.tags.tag_users(name='blue', users=[{'email': 'test1@example.com'}]) + tag = intercom.tags.tag(name='blue', users=[{'email': 'test1@example.com'}]) # Untag users - intercom.tags.untag_users(name='blue', users=[{'user_id': '42ea2f1b93891f6a99000427'}]) + intercom.tags.untag(name='blue', users=[{'user_id': '42ea2f1b93891f6a99000427'}]) # Iterate over all tags for tag in intercom.tags.all(): ...