# task_series_delete

Delete Recurring Task Series

## Beschreibung

Delete a recurring series and stop future generation. All already created tasks and subtasks are kept. Requires creator, workspace manager or account admin and expected_version from task_series_get.

## Zugriff

Zugriffsprofil: `gated`. Module: `projects_tasks`.
Die Freigabe im Profil ersetzt keine Account-, Workspace- oder Rollenberechtigung.

## Parameter

| Name | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `account_id` | string | Ja |  |
| `id` | string | Ja |  |
| `expected_version` | integer | Ja |  |

## Eingabeschema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "account_id": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "expected_version": {
      "type": "integer"
    }
  },
  "required": [
    "account_id",
    "id",
    "expected_version"
  ],
  "type": "object"
}
```

## Ausgabeschema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "deleted": {
      "type": "boolean"
    },
    "id": {
      "type": "string"
    },
    "existing_tasks_kept": {
      "type": "boolean"
    }
  },
  "required": [
    "deleted",
    "id",
    "existing_tasks_kept"
  ],
  "type": "object"
}
```
