{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "name": "DelegationNotFound"
        },
        {
          "name": "NotAuthorized"
        },
        {
          "name": "InvalidCallers"
        },
        {
          "name": "Conflict"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "delegation": {
              "maxLength": 128,
              "type": "string"
            },
            "dids": {
              "items": {
                "format": "did",
                "type": "string"
              },
              "maxLength": 100,
              "minLength": 1,
              "type": "array"
            },
            "ifCallerRevision": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "delegation",
            "dids"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "callerRevision": {
              "minimum": 0,
              "type": "integer"
            },
            "removed": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "callerRevision",
            "removed"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Remove caller DIDs from one delegation's allowlist. Modeled on com.atproto.memberspace.removeMembers. Max 100 DIDs per request. DIDs not present are ignored. Only the delegation's repo owner may call this.",
  "id": "party.whey.writeproxy.removeCallers",
  "lexicon": 1
}
