> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.front.drafts.DeleteDraft

- Component: `appmixer.front.drafts.DeleteDraft`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.front 1.1.1](https://connectors.appmixer.com/connector/appmixer.front/1.1.1.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.front/1.1.1/component/appmixer.front.drafts.DeleteDraft>

Delete a message draft in Front

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Draft Message ID (`draftId`) | text | The ID of the draft to delete |
| Version (`version`) | text | Version of the draft |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.front.drafts.DeleteDraft",
  "description": "Delete a message draft in Front",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:front"
  },
  "quota": {
    "manager": "appmixer:front",
    "resources": "requests"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "draftId": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "draftId",
          "version"
        ]
      },
      "inspector": {
        "inputs": {
          "draftId": {
            "type": "text",
            "index": 0,
            "label": "Draft Message ID",
            "tooltip": "The ID of the draft to delete"
          },
          "version": {
            "type": "text",
            "index": 1,
            "label": "Version",
            "tooltip": "Version of the draft"
          }
        }
      }
    }
  ],
  "outPorts": [
    "out"
  ],
  "icon": "(data URI omitted)"
}
```
