---
title: "Delete an artifact before its normal expiry"
method: DELETE
path: "/api/artifacts/{artifact_id}"
tags: ["Artifacts"]
---

# Delete an artifact before its normal expiry

`DELETE /api/artifacts/{artifact_id}`

## Request

- Base URL: `https://courseprofiler.com`
- URL: `https://courseprofiler.com/api/artifacts/{artifact_id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
  - none

## Path parameters

- `artifact_id` string, required

## Response `204`

Artifact deleted or already unavailable

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/courseprofiler/apis/courseprofiler-public-api.md) · [All operations](https://skmtc.dev/courseprofiler/apis/courseprofiler-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/courseprofiler/apis/courseprofiler-public-api/revisions/e07403d7dba9?raw)
