---
title: "Archive a message fragment"
method: DELETE
path: "/shop/message-fragments/{messageFragmentId}"
tags: ["MessageFragments"]
---

# Archive a message fragment

`DELETE /shop/message-fragments/{messageFragmentId}`

Soft-deletes a message fragment. Once archived the fragment is
no longer included in outgoing emails, but its history is
retained for auditing.

## Response `204`

The message fragment was successfully archived.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found

---

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