---
title: "Delete a task mock"
method: DELETE
path: "/workflow_engine/mocks/tasks/{mockId}"
tags: ["Workflow Engine"]
---

# Delete a task mock

`DELETE /workflow_engine/mocks/tasks/{mockId}`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/workflow_engine/mocks/tasks/{mockId}`
- Auth: none declared

Deletes an existing task mock with the provided ID.

## Path parameters

- `mockId` string, required

## Response `200`

Result of mock deletion

- WorkflowEngineDeleteMockResponse200
  - `message` string: Confirmation message indicating successful deletion

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Workflow Engine` added
  - api tag `workflowEngine` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/workflow_engine/mocks/tasks/:mockId/delete.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
