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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using client_id or organization_id.
user_id of for whom the ticket should be created.
ID of the client (application). If provided for tenants using the New Universal Login experience, the email template and UI displays application details, and the user is prompted to redirect to the application's default login route after the ticket is used. client_id is required to use the Password Reset Post Challenge trigger.
(Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters.
ID of the connection. If provided, allows the user to be specified using email instead of user_id. If you set this value, you must also send the email parameter. You cannot send user_id when specifying a connection_id.
^con_[A-Za-z0-9]{16}$Email address of the user for whom the tickets should be created. Requires the connection_id parameter. Cannot be specified when using user_id.
Number of seconds for which the ticket is valid before expiration. If unspecified or set to 0, this value defaults to 432000 seconds (5 days).
x >= 0Whether to set the email_verified attribute to true (true) or whether it should not be updated (false).
Whether to include the email address as part of the returnUrl in the reset_email (true), or not (false).
The user's identity. If you set this value, you must also send the user_id parameter.
Ticket successfully created.
URL representing the ticket.