Skip to main content
Send a new code for a second factor

Query Parameters

token
string

The locked token signing in handed back. Leave it out and the one in the request's cookies is used.

Pattern: ^[A-Za-z0-9._-]+$
Example:

"cir_a11b868cbba3c.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

Body

application/json
factors
string[]
required

Which factors to send a new code for. Only factors that are still outstanding and whose code is actually delivered somewhere can be named; if none of them qualifies the call is refused.

Minimum array length: 1
Minimum string length: 1
Example:

Response

Returns the factors a new code was sent for, each with its fresh expiry and attempt count.

authentication
object[]

The factors a new code was actually sent for, each with its fresh expiry and attempt count.