com.atproto.server.resetPassword

Reset a user account password using a token.

Details · procedure
Kindprocedure
Authorityserver.atproto.com
Indexed
cid bafyreighhpnpsmoauobk4gqxpa5qtirodft25gcxnfxme7ic5zpv73tu6u

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.passwordNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.tokenNo maxLength, maxGraphemes or format limits this string.
  • endpoint-output-undefined defs.mainNo output is defined. Endpoints should define one, even an empty one.
JSONDownload
{
  "$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
}