at.happyproto.admin.addCustomer

happyproto.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Make an account a customer: add it to the customers space with read access. Adding an existing member succeeds and changes nothing. Staff only.",
      "errors": [
        {
          "description": "This endpoint requires an authenticated caller.",
          "name": "AuthRequired"
        },
        {
          "description": "The caller is not HappyProto staff, or may not change the customers space's members: only its creator or a HappyView super user may.",
          "name": "Forbidden"
        },
        {
          "description": "did is not a DID.",
          "name": "InvalidRequest"
        },
        {
          "description": "The customers space is not configured, or could not be changed.",
          "name": "Upstream"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "did"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "at.happyproto.admin.addCustomer",
  "lexicon": 1
}

Validate Record

Validate a record against at.happyproto.admin.addCustomer

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:mo7vq4jbioxwafy5zkcc3eux
CID
bafyreiftwochbxzyknvgbbxjktdp4nkjru7m6mnqj3vquywtg6srm26fcy
Indexed At
2026-10-19 18:20 UTC
AT-URI
at://did:plc:mo7vq4jbioxwafy5zkcc3eux/com.atproto.lexicon.schema/at.happyproto.admin.addCustomer

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Stop an account being a customer: remove it from the customers space. Removing a non-member succeeds. Staff only.

  • The members of the customers space: everyone the customer endpoints admit. Staff only.

  • Create HappyProto's admin and customers spaces under HAPPYPROTO_DID, member-only, keeping either that already exists, and add each of staff to the admin space with write access, skipping existing members. Idempotent: a …

Lexicon Garden

@