Skip to main content

Generate a digit token

POST 

/generate-password-reset-token/digit

This API is used to generate a digit token for password management. Requires authorization scope of "idn:password-digit-token:create".

Request

Body

required

    userId stringrequired

    The uid of the user requested for digit token

    length integer

    The length of digit token. It should be from 6 to 18, inclusive. The default value is 6.

    durationMinutes integer

    The time to live for the digit token in minutes. The default value is 5 minutes.

Responses

The digit token for password management.

Schema

    digitToken string

    The digit token for password management

    requestId string

    The reference ID of the digit token generation request

Loading...