com.atproto.server.resetPassword
Reset a user account password using a token.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | server.atproto.com |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.passwordNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.tokenNo maxLength, maxGraphemes or format limits this string.endpoint-output-undefineddefs.mainNo output is defined. Endpoints should define one, even an empty one.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Reset a user account password using a token.",
"errors": [
{
"name": "ExpiredToken"
},
{
"name": "InvalidToken"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"password": {
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"token",
"password"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.atproto.server.resetPassword",
"lexicon": 1
}