---
title: "Delete artifact"
method: DELETE
path: "/artifact/{artifactID}"
---

# Delete artifact

`DELETE /artifact/{artifactID}`

Delete an artifact

## Path parameters

- `artifactID` string, required

## Query parameters

- `directory` string
- `workspace` string

## Request body

- object
  - `sessionID` string, required — Session ID

## Response `200`

Artifact deleted

- object
  - `success` boolean, required

## Other responses

- `403` — Forbidden
- `404` — Not found

---

[API](https://skmtc.net/kaaass/apis/opencode.md) · [All operations](https://skmtc.net/kaaass/apis/opencode/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaaass/opencode/revisions/8bb9a15bd144/schema)
