---
title: "Delete Workflow Submission"
method: DELETE
path: "/workflows/{workflowId}/submissions/{submissionId}"
tags: ["Submissions"]
---

# Delete Workflow Submission

`DELETE /workflows/{workflowId}/submissions/{submissionId}`

## Request

- Base URL: `https://env.unqork.io/api/1.0`
- URL: `https://env.unqork.io/api/1.0/workflows/{workflowId}/submissions/{submissionId}`
- Auth: OAuth 2
  - Client credentials
  - Password
  - Token URL: `https://xyzfinancial.unqork.io/api/1.0/oauth2/access_token`
- TypeScript: <https://skmtc.dev/unqork/apis/unqork-customer-api/docs/workflows/:workflowId/submissions/:submissionId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a single workflow submission based on the ID supplied. Note that workflow submissions are soft-deleted (marked deleted, but not removed).
### Authorization Required:
  - See Submission Access ([Submission Access](#submission-access))

## Path parameters

- `workflowId` string, required
- `submissionId` string, required

## Query parameters

- `destroy` boolean

## Response `204`

Submission deleted

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/unqork/apis/unqork-customer-api.md) - [All operations](https://skmtc.dev/unqork/apis/unqork-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unqork/apis/unqork-customer-api/revisions/13dad4096373?raw)
