---
title: "Delete Artifact"
method: DELETE
path: "/v2/artifacts/{artifact_id}"
tags: ["artifacts"]
---

# Delete Artifact

`DELETE /v2/artifacts/{artifact_id}`

## Path parameters

- `artifact_id` string, required

## Query parameters

- `type` 'session' | 'document' | 'diagram' | 'folder', required
- `id_type` string

## Response `200`

Successful Response

- ArtifactListItem
  - `id` string, required
  - `type` 'session' | 'document' | 'diagram' | 'folder', required
  - `name` string, required
  - `space_id` string, required
  - `folder_ids` string[]
  - `created_at` string, required
  - `last_content_updated_at` string, nullable — Last time the document or diagram content itself changed; unchanged by renames and moves. Null for sessions.
  - `external_ids` object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/getauctor/apis/fastapi.md) · [All operations](https://skmtc.dev/getauctor/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getauctor/fastapi/revisions/aeb6faa3b8f0/schema)
