{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The sender takes back a send they just made, within a short time of making it. It is removed for every recipient, with its Activity item; the post itself is untouched.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "InvalidRequest"
        },
        {
          "description": "No send with this id was made by the viewer.",
          "name": "SendNotFound"
        },
        {
          "description": "The send is too old to take back.",
          "name": "UndoExpired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "id": {
              "maxLength": 64,
              "type": "string"
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "com.getorbyt.send.undo",
  "lexicon": 1
}
