Skip to content

com.atproto.server.resetPassword

Lexicon Version: 1

Type: procedure

Reset a user account password using a token.

Parameters: (None defined)

Input:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
tokenstring
passwordstring
Possible Errors:
  • ExpiredToken
  • InvalidToken

{
"lexicon": 1,
"id": "com.atproto.server.resetPassword",
"defs": {
"main": {
"type": "procedure",
"description": "Reset a user account password using a token.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"token",
"password"
],
"properties": {
"token": {
"type": "string"
},
"password": {
"type": "string"
}
}
}
},
"errors": [
{
"name": "ExpiredToken"
},
{
"name": "InvalidToken"
}
]
}
}
}