rip.pds.account.extendExpiry

pds.rip

Documentation

Push out the expiry of an account the caller minted, up to the server's maximum lifetime.

main procedure

Push out the expiry of an account the caller minted, up to the server's maximum lifetime.

Input

Encodingapplication/json
did stringdid Required

A decentralized identifier (DID).

Output

Encodingapplication/json
maxExpiresAt stringdatetime Required

The furthest this account can ever be extended to.

Errors

AccountNotFound No live account with that DID was minted by the caller.
MaximumLifetimeReached The account is already at the server's maximum lifetime.
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"
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "AccountNotFound",
      "description": "No live account with that DID was minted by the caller."
    },
    {
      "name": "MaximumLifetimeReached",
      "description": "The account is already at the server's maximum lifetime."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "account",
        "maxExpiresAt"
      ],
      "properties": {
        "account": {
          "ref": "rip.pds.account.defs#accountView",
          "type": "ref"
        },
        "maxExpiresAt": {
          "type": "string",
          "format": "datetime",
          "description": "The furthest this account can ever be extended to."
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Push out the expiry of an account the caller minted, up to the server's maximum lifetime."
}

Lexicon Garden

@