---
title: "Delete deployment artifact"
method: DELETE
path: "/api/v1/deploy/artifacts/{deployment_id}"
tags: ["Deploy"]
---

# Delete deployment artifact

`DELETE /api/v1/deploy/artifacts/{deployment_id}`

## Request

- Base URL: `http://:8080`
- URL: `http://:8080/api/v1/deploy/artifacts/{deployment_id}`
- Auth: none declared

Delete deployment artifact.

Auth: Required (bearer token).
Scope: Organization-scoped in authenticated context.
Side effects: May mutate server state.

## Path parameters

- `deployment_id` string, required

## Headers

- `Accept` string

## Response `200`

OK

- ArtifactDeleteResponse: ArtifactDeleteResponse schema
  - `message` string
  - `status` string

## Other responses

- `400`: Bad Request _(validation or deserialization error)_
- `500`: Internal Server Error _(panics)_
- `default`

## Changes

- **2026-04-26** `09f18af670c4`: 4 info
  - api tag `Deploy` added
  - api tag `api/v1/deploy` removed
  - api tag `artifacts` removed
  - api tag `{deployment_id}` removed
- **2026-04-25** `bd37a091d7b6`: 4 info
  - for the `path` request parameter `deployment_id`, the format was generalized from `uuid` to no format
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `403`
  - removed the non-success response with the status `404`
- **2026-04-22** `135abb870063`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nixopus/apis/nixopus-api/changes/api/v1/deploy/artifacts/:deployment_id/delete.md)

---

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