@@ -31,7 +31,7 @@ def get_privacy_policy_history_by_uid(self, uid):
3131 query_parameters ["apiSecret" ] = self ._lr_object .get_api_secret ()
3232
3333 resource_path = "identity/v2/manage/account/" + uid + "/privacypolicy/history"
34- return self ._lr_object .execute ("GET" , resource_path , query_parameters , None )
34+ return self ._lr_object .execute ("GET" , resource_path , query_parameters , {} )
3535
3636 def create_account (self , account_create_model , fields = '' ):
3737 """This API is used to create an account in Cloud Storage. This API bypass the normal email verification process and manually creates the user. <br><br>In order to use this API, you need to format a JSON request body with all of the mandatory fields
@@ -79,7 +79,7 @@ def get_account_profile_by_email(self, email, fields=''):
7979 query_parameters ["fields" ] = fields
8080
8181 resource_path = "identity/v2/manage/account"
82- return self ._lr_object .execute ("GET" , resource_path , query_parameters , None )
82+ return self ._lr_object .execute ("GET" , resource_path , query_parameters , {} )
8383
8484 def get_account_profile_by_user_name (self , user_name , fields = '' ):
8585 """This API is used to retrieve all of the profile data associated with the specified account by user name in Cloud Storage.
@@ -104,7 +104,7 @@ def get_account_profile_by_user_name(self, user_name, fields=''):
104104 query_parameters ["fields" ] = fields
105105
106106 resource_path = "identity/v2/manage/account"
107- return self ._lr_object .execute ("GET" , resource_path , query_parameters , None )
107+ return self ._lr_object .execute ("GET" , resource_path , query_parameters , {} )
108108
109109 def get_account_profile_by_phone (self , phone , fields = '' ):
110110 """This API is used to retrieve all of the profile data, associated with the account by phone number in Cloud Storage.
@@ -129,7 +129,7 @@ def get_account_profile_by_phone(self, phone, fields=''):
129129 query_parameters ["fields" ] = fields
130130
131131 resource_path = "identity/v2/manage/account"
132- return self ._lr_object .execute ("GET" , resource_path , query_parameters , None )
132+ return self ._lr_object .execute ("GET" , resource_path , query_parameters , {} )
133133
134134 def get_account_profile_by_uid (self , uid , fields = '' ):
135135 """This API is used to retrieve all of the profile data, associated with the account by uid in Cloud Storage.
@@ -153,7 +153,7 @@ def get_account_profile_by_uid(self, uid, fields=''):
153153 query_parameters ["fields" ] = fields
154154
155155 resource_path = "identity/v2/manage/account/" + uid
156- return self ._lr_object .execute ("GET" , resource_path , query_parameters , None )
156+ return self ._lr_object .execute ("GET" , resource_path , query_parameters , {} )
157157
158158 def update_account_by_uid (self , account_user_profile_update_model , uid , fields = '' ,
159159 null_support = None ):
@@ -236,7 +236,7 @@ def get_account_password_hash_by_uid(self, uid):
236236 query_parameters ["apiSecret" ] = self ._lr_object .get_api_secret ()
237237
238238 resource_path = "identity/v2/manage/account/" + uid + "/password"
239- return self ._lr_object .execute ("GET" , resource_path , query_parameters , None )
239+ return self ._lr_object .execute ("GET" , resource_path , query_parameters , {} )
240240
241241 def set_account_password_by_uid (self , password , uid ):
242242 """This API is used to set the password of an account in Cloud Storage.
@@ -285,7 +285,7 @@ def delete_account_by_uid(self, uid):
285285 query_parameters ["apiSecret" ] = self ._lr_object .get_api_secret ()
286286
287287 resource_path = "identity/v2/manage/account/" + uid
288- return self ._lr_object .execute ("DELETE" , resource_path , query_parameters , None )
288+ return self ._lr_object .execute ("DELETE" , resource_path , query_parameters , {} )
289289
290290 def invalidate_account_email_verification (self , uid , email_template = '' , verification_url = '' ):
291291 """This API is used to invalidate the Email Verification status on an account.
@@ -312,7 +312,7 @@ def invalidate_account_email_verification(self, uid, email_template='', verifica
312312 query_parameters ["verificationUrl" ] = verification_url
313313
314314 resource_path = "identity/v2/manage/account/" + uid + "/invalidateemail"
315- return self ._lr_object .execute ("PUT" , resource_path , query_parameters , None )
315+ return self ._lr_object .execute ("PUT" , resource_path , query_parameters , {} )
316316
317317 def get_forgot_password_token (self , email , email_template = None , reset_password_url = None ,
318318 send_email = None ):
@@ -392,7 +392,7 @@ def get_access_token_by_uid(self, uid):
392392 query_parameters ["uid" ] = uid
393393
394394 resource_path = "identity/v2/manage/account/access_token"
395- return self ._lr_object .execute ("GET" , resource_path , query_parameters , None )
395+ return self ._lr_object .execute ("GET" , resource_path , query_parameters , {} )
396396
397397 def reset_phone_id_verification_by_uid (self , uid , sms_template = '' ):
398398 """This API Allows you to reset the phone no verification of an end user’s account.
@@ -416,7 +416,7 @@ def reset_phone_id_verification_by_uid(self, uid, sms_template=''):
416416 query_parameters ["smsTemplate" ] = sms_template
417417
418418 resource_path = "identity/v2/manage/account/" + uid + "/invalidatephone"
419- return self ._lr_object .execute ("PUT" , resource_path , query_parameters , None )
419+ return self ._lr_object .execute ("PUT" , resource_path , query_parameters , {} )
420420
421421 def upsert_email (self , upsert_email_model , uid , fields = '' ):
422422 """This API is used to add/upsert another emails in account profile by different-different email types. If the email type is same then it will simply update the existing email, otherwise it will add a new email in Email array.
@@ -496,7 +496,7 @@ def refresh_access_token_by_refresh_token(self, refresh__token):
496496 query_parameters ["refresh_Token" ] = refresh__token
497497
498498 resource_path = "identity/v2/manage/account/access_token/refresh"
499- return self ._lr_object .execute ("GET" , resource_path , query_parameters , None )
499+ return self ._lr_object .execute ("GET" , resource_path , query_parameters , {} )
500500
501501 def revoke_refresh_token (self , refresh__token ):
502502 """The Revoke Refresh Access Token API is used to revoke a refresh token or the Provider Access Token, revoking an existing refresh token will invalidate the refresh token but the associated access token will work until the expiry.
@@ -518,7 +518,7 @@ def revoke_refresh_token(self, refresh__token):
518518 query_parameters ["refresh_Token" ] = refresh__token
519519
520520 resource_path = "identity/v2/manage/account/access_token/refresh/revoke"
521- return self ._lr_object .execute ("GET" , resource_path , query_parameters , None )
521+ return self ._lr_object .execute ("GET" , resource_path , query_parameters , {} )
522522
523523 def get_account_identities_by_email (self , email , fields = '' ):
524524 """Note: This is intended for specific workflows where an email may be associated to multiple UIDs. This API is used to retrieve all of the identities (UID and Profiles), associated with a specified email in Cloud Storage.
@@ -543,7 +543,7 @@ def get_account_identities_by_email(self, email, fields=''):
543543 query_parameters ["fields" ] = fields
544544
545545 resource_path = "identity/v2/manage/account/identities"
546- return self ._lr_object .execute ("GET" , resource_path , query_parameters , None )
546+ return self ._lr_object .execute ("GET" , resource_path , query_parameters , {} )
547547
548548 def account_delete_by_email (self , email ):
549549 """This API is used to delete all user profiles associated with an Email.
@@ -565,7 +565,7 @@ def account_delete_by_email(self, email):
565565 query_parameters ["email" ] = email
566566
567567 resource_path = "identity/v2/manage/account"
568- return self ._lr_object .execute ("DELETE" , resource_path , query_parameters , None )
568+ return self ._lr_object .execute ("DELETE" , resource_path , query_parameters , {} )
569569
570570 def account_update_uid (self , update_uid_model , uid ):
571571 """This API is used to update a user's Uid. It will update all profiles, custom objects and consent management logs associated with the Uid.
0 commit comments