Hanzo
OpenapiO11y

Returns a user's password-reset token, creating one if none is live.

Returns a user's password-reset token, creating one if none is live.

GET /v1/o11y/getResetPasswordToken/{id}

Addresshttps://api.hanzo.ai/v1/o11y/getResetPasswordToken/{id}
MethodGET
OperationGetResetPasswordTokenDeprecated
AuthAuthorization: Bearer $HANZO_API_KEY

Returns a user's password-reset token, creating one if none is live. Deprecated in favor of the reset_password_tokens pair, which separates reading from minting. Admin gate.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

StatusBodyMeaning
200o11y.O11yResetTokenOutok

200 body — 6 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yResetToken
data.expiresAtbodystring (date-time)ExpiresAt is when it stops working.
data.idbodystringID is the grant's id.
data.passwordIdbodystringPasswordID is the password record it resets.
data.tokenbodystringToken is the secret that redeems it.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y getResetPasswordToken get <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page