rip.pds.account.extendExpiry
Push out the expiry of an account the caller minted, up to the server's maximum lifetime.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | account.pds.rip |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Push out the expiry of an account the caller minted, up to the server's maximum lifetime.",
"errors": [
{
"description": "No live account with that DID was minted by the caller.",
"name": "AccountNotFound"
},
{
"description": "The account is already at the server's maximum lifetime.",
"name": "MaximumLifetimeReached"
}
],
"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.account.defs#accountView",
"type": "ref"
},
"maxExpiresAt": {
"description": "The furthest this account can ever be extended to.",
"format": "datetime",
"type": "string"
}
},
"required": [
"account",
"maxExpiresAt"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "rip.pds.account.extendExpiry",
"lexicon": 1
}