rip.pds.admin.resetPassword

Issue a new password for any live account on this server, whoever holds it. Operators only.

Repository @pds.rip did:plc:w24v65i3bcsxk6mbbgfdukve namespace authority
Details · procedure
Kindprocedure
Authorityadmin.pds.rip
Indexed
cid bafyreifo3j45rx2rhp5bda6lyhkmozs73ht4h7n6j7wvvvuagrey7dxfxq

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.passwordNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Issue a new password for any live account on this server, whoever holds it. Operators only.",
      "errors": [
        {
          "description": "The calling account does not operate this server.",
          "name": "NotAnOperator"
        },
        {
          "description": "No live account with that DID.",
          "name": "AccountNotFound"
        },
        {
          "description": "The PDS refused the change.",
          "name": "ResetFailed"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "did"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "account": {
              "ref": "rip.pds.admin.defs#accountView",
              "type": "ref"
            },
            "password": {
              "description": "Shown once.",
              "type": "string"
            },
            "pdsEndpoint": {
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "account",
            "password",
            "pdsEndpoint"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "rip.pds.admin.resetPassword",
  "lexicon": 1
}