34 lines
676 B
JSON
34 lines
676 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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|