Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.06 KB

File metadata and controls

30 lines (21 loc) · 1.06 KB

ChangeEmailRequest

Properties

Name Type Description Notes
new_email str The new email address to set must be a valid email address
callback_url str The URL to redirect to after email verification [optional]

Example

from better_auth.models.change_email_request import ChangeEmailRequest

# TODO update the JSON string below
json = "{}"
# create an instance of ChangeEmailRequest from a JSON string
change_email_request_instance = ChangeEmailRequest.from_json(json)
# print the JSON string representation of the object
print(ChangeEmailRequest.to_json())

# convert the object into a dict
change_email_request_dict = change_email_request_instance.to_dict()
# create an instance of ChangeEmailRequest from a dict
change_email_request_from_dict = ChangeEmailRequest.from_dict(change_email_request_dict)

[Back to Model list] [Back to API list] [Back to README]