Faroe

Email update request model

{
    "id": string,
    "user_id": string,
    "created_at": number,
    "expires_at": number,
    "code": string
}
  • id: A 24-character long unique identifier with 120 bits of entropy.
  • user_id: A 24-character long user ID.
  • created_at: A 64-bit integer as an UNIX timestamp representing when the request was created.
  • expires_at: A 64-bit integer as an UNIX timestamp representing when the request will expire.
  • email: An email that is 255 or less characters.
  • code: An 8-character alphanumeric one-time code.

Example

{
    "id": "dvd742g6mpmaebbjxq72kwsr",
    "user_id": "7six6i2igxd5ct4dccjk4qtg",
    "created_at": 1728803704,
    "expires_at": 1728804304,
    "email": "[email protected]",
    "code": "VQ9REYBU"
}