atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.atproto.server.resetPassword",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Reset a user account password using a token.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "token",
14 "password"
15 ],
16 "properties": {
17 "password": {
18 "type": "string"
19 },
20 "token": {
21 "type": "string"
22 }
23 }
24 }
25 },
26 "errors": [
27 {
28 "name": "ExpiredToken"
29 },
30 {
31 "name": "InvalidToken"
32 }
33 ]
34 }
35 }
36}