---
title: "Archive a Distribution Object"
method: DELETE
path: "/distributions/{distributionKey}"
tags: ["Distributions"]
---

# Archive a Distribution Object

`DELETE /distributions/{distributionKey}`

## Request

- Base URL: `https://eu-west-1.api.silverflow.com/v1`
- URL: `https://eu-west-1.api.silverflow.com/v1/distributions/{distributionKey}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/silverflow/apis/silverflow-api/docs/distributions/:distributionKey/delete.ts> (a function with typed inputs; its response is checked against the schema)

Archives a distribution object. Distributions will not be used by their associated entities if they are archived.

Requires the `distributions:Archive` permission.

## Path parameters

- `distributionKey` string, required: Uniquely identifies a distribution object

## Response `204`

Distribution archived.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Distribution not found
- `429`: Too Many Requests

---

[API](https://skmtc.dev/silverflow/apis/silverflow-api.md) - [All operations](https://skmtc.dev/silverflow/apis/silverflow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/silverflow/apis/silverflow-api/revisions/43ecbe4fd6ea?raw)
