# Cancel SMS Newsletter Dispatch

Cancels a scheduled or still-cancellable SMS newsletter dispatch and returns it to draft so no further contacts receive it. Returns cancelled=false if no dispatch can be stopped. Already sent SMS cannot be recalled; ask before stopping a deliberate dispatch.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "newsletterId": {
      "type": "integer",
      "description": "ID of the SMS newsletter whose dispatch is to be called off",
      "minimum": 1
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "newsletterId"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "newsletterId",
    "cancelled",
    "previousStatus",
    "status"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "newsletterId": {
      "type": "integer"
    },
    "cancelled": {
      "type": "boolean"
    },
    "previousStatus": {
      "type": "string",
      "enum": [
        "draft",
        "scheduled",
        "outgoing",
        "sent"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "scheduled",
        "outgoing",
        "sent"
      ]
    }
  }
}
```

