docs/classes/management.SDK.TicketsClient.html
new TicketsClient(options: BaseClientOptions): TicketsClient
verifyEmail(
request: VerifyEmailTicketRequestContent,
requestOptions?: TicketsClient.RequestOptions,
): HttpResponsePromise<VerifyEmailTicketResponseContent>
Create an email verification ticket for a given user. An email verification ticket is a generated URL that the user can consume to verify their email address.
OptionalrequestOptions: TicketsClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.tickets.verifyEmail({ user_id: "user_id" })Copy
changePassword(
request?: ChangePasswordTicketRequestContent,
requestOptions?: TicketsClient.RequestOptions,
): HttpResponsePromise<ChangePasswordTicketResponseContent>
Create a password change ticket for a given user. A password change ticket is a generated URL that the user can consume to start a reset password flow.
Note: This endpoint does not verify the given user’s identity. If you call this endpoint within your application, you must design your application to verify the user’s identity.
OptionalrequestOptions: TicketsClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.tickets.changePassword()Copy
Protected Readonly_options_options: NormalizedClientOptionsWithAuth<BaseClientOptions>
Member Visibility
ThemeOSLightDark
Constructors constructor Methods verifyEmailchangePassword Properties _options