at.happyproto.admin.removeCustomer

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

Repository @happyproto.at did:plc:mo7vq4jbioxwafy5zkcc3eux namespace authority
Details · procedure
Kindprocedure
Authorityadmin.happyproto.at
Indexed
cid bafyreifitdhwoyjubfivgvvbawuvor4sr27ldjdpllpbszpwty6wfj432q

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Stop an account being a customer: remove it from the customers space. Removing a non-member succeeds. 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.removeCustomer",
  "lexicon": 1
}