rip.pds.account.resetPassword

pds.rip

Documentation

Issue a new password for an account the calling account owns. The old password is not recoverable and is replaced outright. Existing sessions on the account are not revoked.

main procedure

Issue a new password for an account the calling account owns. The old password is not recoverable and is replaced outright. Existing sessions on the account are not revoked.

Input

Encodingapplication/json
did stringdid Required

The account to issue a new password for.

Output

Encodingapplication/json
password string Required

Shown once. The server does not store it in a recoverable form, so losing this means resetting again.

pdsEndpoint stringuri Required

A valid URI.

Errors

AccountNotFound No live account with that DID was minted by the caller.
ResetFailed The PDS refused the change.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did",
          "description": "The account to issue a new password for."
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "AccountNotFound",
      "description": "No live account with that DID was minted by the caller."
    },
    {
      "name": "ResetFailed",
      "description": "The PDS refused the change."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "account",
        "password",
        "pdsEndpoint"
      ],
      "properties": {
        "account": {
          "ref": "rip.pds.account.defs#accountView",
          "type": "ref"
        },
        "password": {
          "type": "string",
          "description": "Shown once. The server does not store it in a recoverable form, so losing this means resetting again."
        },
        "pdsEndpoint": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Issue a new password for an account the calling account owns. The old password is not recoverable and is replaced outright. Existing sessions on the account are not revoked."
}

Lexicon Garden

@