mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-09 12:27:48 +00:00
16 lines
458 B
YAML
16 lines
458 B
YAML
type: object
|
|
required:
|
|
- userId
|
|
properties:
|
|
userId:
|
|
type: string
|
|
description: The uid of the user requested for digit token
|
|
example: Abby.Smith
|
|
length:
|
|
type: integer
|
|
description: The length of digit token. It should be from 6 to 18, inclusive. The default value is 6.
|
|
example: 8
|
|
durationMinutes:
|
|
type: integer
|
|
description: The time to live for the digit token in minutes. The default value is 5 minutes.
|
|
example: 5 |