---
title: "DELETE /api/v1/actions/{ref_or_id}"
method: DELETE
path: "/api/v1/actions/{ref_or_id}"
---

# DELETE /api/v1/actions/{ref_or_id}

`DELETE /api/v1/actions/{ref_or_id}`

Delete an action.

## Path parameters

- `ref_or_id` string, required

## Request body

- ActionDeleteRequest
  - `remove_files` boolean — Flag to delete action files from disk

## Response `204`

Action deleted

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.dev/stackstorm/apis/stackstorm-api.md) · [All operations](https://skmtc.dev/stackstorm/apis/stackstorm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stackstorm/stackstorm-api/revisions/85e49f390588/schema)
