The `user_id` of an active user the TOTP registration should be tied to. You may use an `external_id` here if one is set for the user.
expiration_minutes
integer
The expiration for the TOTP instance. If the newly created TOTP is not authenticated within this time frame the TOTP will be unusable. Defaults to 1440 (1 day) with a minimum of 5 and a maximum of 144
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/api_totp_v1_CreateRequest",
"title": "api_totp_v1_CreateRequest",
"type": "object",
"properties": {
"user_id": {
"type": "string",
"description": "The `user_id` of an active user the TOTP registration should be tied to. You may use an `external_id` here if one is set for the user."
},
"expiration_minutes": {
"type": "integer",
"format": "int32",
"description": "The expiration for the TOTP instance. If the newly created TOTP is not authenticated within this time frame the TOTP will be unusable. Defaults to 1440 (1 day) with a minimum of 5 and a maximum of 1440."
}
},
"description": "Request type",
"required": [
"user_id"
]
}