# com.getorbyt.send.undo

> 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.

- Kind: procedure
- Authority: send.getorbyt.com
- Lexicon: 1
- Published by [getorbyt.com](https://lexicon.garden/identity/did:plc:2xrqztnmzlckb3xfuuukupso), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.send.undo)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.send.undo/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.send.undo/analytics)

## Procedure (`com.getorbyt.send.undo`)

Type: procedure · POST

### Input (application/json)

- `id` (string, required)
  - Constraints: maxLength: 64

### Output (application/json)


### Errors

- `AuthenticationRequired`: No description in schema.
- `InvalidRequest`: No description in schema.
- `SendNotFound`: No send with this id was made by the viewer.
- `UndoExpired`: The send is too old to take back.

## Schema

```json
{
  "$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
}
```
