Skip to main content
POST
/
api
/
v1
/
auth
/
reset-password
Reset Password
curl --request POST \
  --url https://roughy-api-staging.fly.dev/api/v1/auth/reset-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_password": "fresh-correct-horse-battery-staple",
  "token": "example-reset-token-from-email-link"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.roughy.ai/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Consume a reset token (from the email link) and set a new password. The same length bounds as signup apply.

token
string
required
Required string length: 16 - 256
new_password
string
required
Required string length: 8 - 128

Response

Successful Response