rip.pds.account.resetPassword
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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | account.pds.rip |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.passwordNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"errors": [
{
"description": "No live account with that DID was minted by the caller.",
"name": "AccountNotFound"
},
{
"description": "The PDS refused the change.",
"name": "ResetFailed"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"description": "The account to issue a new password for.",
"format": "did",
"type": "string"
}
},
"required": [
"did"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"account": {
"ref": "rip.pds.account.defs#accountView",
"type": "ref"
},
"password": {
"description": "Shown once. The server does not store it in a recoverable form, so losing this means resetting again.",
"type": "string"
},
"pdsEndpoint": {
"format": "uri",
"type": "string"
}
},
"required": [
"account",
"password",
"pdsEndpoint"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "rip.pds.account.resetPassword",
"lexicon": 1
}