# Delete Website Split Test

Deletes a website split test with its statistics, as in the app; it cannot be restored. A snippet still embedded on a website keeps showing variants; remove it from the website to stop the test there. Pass confirm=true only after the user confirmed deleting this split test.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "ID of the split test, from search-website-split-tests",
      "minimum": 1
    },
    "confirm": {
      "type": "boolean",
      "description": "true only after the user confirmed deleting this split test",
      "default": false
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "id",
    "name"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
```

