---
title: "Delete a Flow instance"
method: DELETE
path: "/experimental/flow/instances/{instance_id}"
tags: ["Instances"]
---

# Delete a Flow instance

`DELETE /experimental/flow/instances/{instance_id}`

## Request

- Base URL: `https://scrive.com`
- URL: `https://scrive.com/experimental/flow/instances/{instance_id}`
- Auth: one of:
  - HTTP oauth1
  - OAuth 2
    - Authorization code: `/oauth2/auth`
    - Token URL: `/oauth2/token` scopes: `full`
  - API key in cookie `sessionId` and API key in header `X-Scrive-XToken`
- TypeScript: <https://skmtc.dev/scrive/apis/scrive-flow-api/docs/experimental/flow/instances/:instance_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a trashed Flow instance, making it inaccessible to the author and administrator of the instance. Participants still have access to deleted instances for 30 days after the process has finished. Only trashed instances can be deleted.

**Note**: Deleting an instance is irreversible.

## Path parameters

- `instance_id` string, uuid, required: Unique identifier of the requested instance.

## Response `204`

## Other responses

- `404`: `instance_id` not found

---

[API](https://skmtc.dev/scrive/apis/scrive-flow-api.md) - [All operations](https://skmtc.dev/scrive/apis/scrive-flow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scrive/apis/scrive-flow-api/revisions/f9b2836863f2?raw)
