Skip to main content
POST
/
api
/
v1
/
gate
/
{project_id}
/
auth
/
reset-password
Reset password
curl --request POST \
  --url https://org-api.hexoforge.dev/api/v1/gate/{project_id}/auth/reset-password \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "email": "<string>",
  "otp": "<string>",
  "new_password": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://orchestrator-docs.hexoforge.dev/llms.txt

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

Completes password reset using the OTP from email. Requires X-API-Key. On success, all refresh tokens are revoked.

Request body

email
string
required
Valid email.
otp
string
required
Six-digit OTP from email.
new_password
string
required
8–128 characters; subject to password policy.

Response

204 No Content — empty body.

Status codes

CodeMeaning
204Password updated
400Invalid or expired OTP, or password validation failed
429Rate limited