## Delete

`projects.task_source.delete(strproject_id)  -> TaskSourceDeleteResponse`

**delete** `/projects/{projectId}/task-source`

Delete the project's task source. Team admins only.

### Parameters

- `project_id: str`

### Returns

- `class TaskSourceDeleteResponse: …`

  - `deleted: bool`

    Whether a task source was configured and is now deleted

### Example

```python
import os
from scenario_sdk import Scenario

client = Scenario(
    api_key=os.environ.get("SCENARIO_SDK_API_KEY"),  # This is the default and can be omitted
    api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"),  # This is the default and can be omitted
)
task_source = client.projects.task_source.delete(
    "projectId",
)
print(task_source.deleted)
```

#### Response

```json
{
  "deleted": true
}
```
