We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e5531f4 + 5a73923 commit cc507d5Copy full SHA for cc507d5
intercom/intercom.py
@@ -89,8 +89,7 @@ class Intercom(object):
89
90
app_id = None
91
api_key = None
92
- api_version = 1
93
- api_endpoint = 'https://api.intercom.io/v' + str(api_version) + '/'
+ api_endpoint = 'https://api.intercom.io/'
94
timeout = DEFAULT_TIMEOUT
95
96
@classmethod
@@ -229,7 +228,7 @@ def update_user(cls, **kwargs):
229
228
u'Guido'
230
231
"""
232
- return Intercom._create_or_update_user('PUT', **kwargs)
+ return Intercom._create_or_update_user('POST', **kwargs)
233
234
235
def delete_user(cls, user_id=None, email=None):
0 commit comments