{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Revoke a share link. Revocation takes effect immediately and is permanent.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "InvalidRequest"
        },
        {
          "name": "NotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "shareId": {
              "type": "string"
            },
            "siteId": {
              "format": "record-key",
              "type": "string"
            }
          },
          "required": [
            "siteId",
            "shareId"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "revoked": {
              "const": true,
              "type": "boolean"
            },
            "shareId": {
              "type": "string"
            }
          },
          "required": [
            "shareId",
            "revoked"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "place.wisp.v2.privateSite.revokeShare",
  "lexicon": 1
}
