Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Using TypeScript? Check out our GraphQL SDK for a fully typed client.
Deleting a task soft-deletes it — it is removed from the active task list but remains queryable by ID with isDeleted: true. This operation requires the following permissions:
  • task:delete
Mutation
mutation deleteTask($input: DeleteTaskInput!) {
  deleteTask(input: $input) {
    task {
      id
      isDeleted
    }
    error {
      message
      type
      code
      fields {
        field
        message
        type
      }
    }
  }
}
Variables
{
  "input": {
    "taskId": "ta_01HXXXXXXXXXXXXXXXXXXXXXXX"
  }
}