23 lines
564 B
JSON
23 lines
564 B
JSON
{
|
|
"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" }]
|
|
}
|
|
}
|
|
}
|