---
# @generated by sylphx-gen. Do not edit.
title: "Delete an artifact reference"
description: "`artifacts.artifact_references.delete` (DELETE /v1/{name}): Releases this holder's reference."
type: reference
product: platform
summary: "Releases this holder's reference."
updated: 2026-09-28
nav: false
---

Releases this holder's reference. Other holders keep their protection; registry reconciliation removes a stale tag only after every root expires. Releasing an already absent reference succeeds.

- **Path** `DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference`
- **Scope** `artifacts:retain`
- **Effect** `destructive` — a successful call removes data; the CLI asks before it runs.
- **Collection** [artifact_references](/docs/api/artifact_references)

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | The exact reference to release. Required. |

## Response

The call answers with an empty object.

## Errors

- [`UNAUTHENTICATED`](/docs/api/errors/UNAUTHENTICATED) — No valid key or token was presented.
- [`PERMISSION_DENIED`](/docs/api/errors/PERMISSION_DENIED) — The key lacks the method's permission.
- [`INVALID_FIELD`](/docs/api/errors/INVALID_FIELD) — A field failed validation.
- [`UNAVAILABLE`](/docs/api/errors/UNAVAILABLE) — The Resource store, the owning service's backend, or the key verifier's snapshot is unavailable; retry after Retry-After.

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
curl -X DELETE "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"
```

**TypeScript**

```ts
await sylphx.artifacts.artifactReferences.delete({ name: 'orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference' })
```

**Rust**

```rust
let mut req = sylphx::artifacts::DeleteArtifactReferenceRequest::default();
req.name = "orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference".to_string();
sx.artifacts().artifact_references().delete(req).await?;
```

**CLI**

```bash
sylphx artifacts artifact-references delete orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference --yes
```

**MCP**

```json
{ "method_id": "artifacts.artifact_references.delete", "args": {"name":"orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference"} }
```
