rip.pds.account.putServices

pds.rip

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Replace the service entries on a did:web account's DID document. The whole set is supplied each time, so an empty list resets the document to its minimal form. Only for did:web accounts the caller minted.",
      "errors": [
        {
          "description": "No live account with that DID was minted by the caller.",
          "name": "AccountNotFound"
        },
        {
          "description": "The account is a did:plc, whose document this server cannot edit.",
          "name": "NotAWebIdentity"
        },
        {
          "description": "A fragment, endpoint or label key was not acceptable.",
          "name": "InvalidRequest"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            },
            "labelKey": {
              "description": "Public multikey published as #atproto_label, which a labeler signs its labels with. Required when a labeler entry is present. The private half is never sent here.",
              "type": "string"
            },
            "services": {
              "description": "The complete set of service entries. Omit or pass an empty array to reset to the minimal document.",
              "items": {
                "ref": "#serviceEntry",
                "type": "ref"
              },
              "maxLength": 2,
              "type": "array"
            }
          },
          "required": [
            "did"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            },
            "document": {
              "description": "The DID document as it will now be served.",
              "type": "unknown"
            },
            "labelKey": {
              "type": "string"
            },
            "services": {
              "items": {
                "ref": "#serviceEntry",
                "type": "ref"
              },
              "type": "array"
            },
            "updatedAt": {
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "did",
            "document",
            "services"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    },
    "serviceEntry": {
      "properties": {
        "endpoint": {
          "description": "An https URL. Private and local addresses are refused, because the document is read by other people's infrastructure.",
          "format": "uri",
          "type": "string"
        },
        "fragment": {
          "description": "One of #bsky_fg or #atproto_labeler. The service type is derived from this rather than supplied. Fragments this server manages cannot be set.",
          "knownValues": [
            "#bsky_fg",
            "#atproto_labeler"
          ],
          "type": "string"
        }
      },
      "required": [
        "fragment",
        "endpoint"
      ],
      "type": "object"
    }
  },
  "id": "rip.pds.account.putServices",
  "lexicon": 1
}

Validate Record

Validate a record against rip.pds.account.putServices

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:w24v65i3bcsxk6mbbgfdukve
CID
bafyreiakdl5bt4kyneemkyjovvvzaehddnloxgla3vkqjpjosxofnby3za
Indexed At
2026-09-20 07:24 UTC
AT-URI
at://did:plc:w24v65i3bcsxk6mbbgfdukve/com.atproto.lexicon.schema/rip.pds.account.putServices

Version History (2 versions)

Lexicon Garden

@