---
title: "Delete All Model Version Artifact Links"
method: DELETE
path: "/api/v1/model_versions/{model_version_id}/artifacts"
tags: ["model_versions"]
---

# Delete All Model Version Artifact Links

`DELETE /api/v1/model_versions/{model_version_id}/artifacts`

Deletes all model version to artifact links.

Args:
    model_version_id: ID of the model version containing links.
    only_links: Whether to only delete the link to the artifact.

## Path parameters

- `model_version_id` string, uuid, required

## Query parameters

- `only_links` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.dev/zenml-io/apis/zenml.md) · [All operations](https://skmtc.dev/zenml-io/apis/zenml/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zenml-io/zenml/revisions/abe684261209/schema)
