---
title: "Delete the shared resource's image"
method: DELETE
path: "/cdx/v1/provider-shared-resources/{id}/images/{file_name}"
tags: ["Provider Shared Resources (cdx/v1)"]
---

# Delete the shared resource's image

`DELETE /cdx/v1/provider-shared-resources/{id}/images/{file_name}`

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Deletes the image file for the shared resource

## Path parameters

- `id` string, required
- `file_name` string, required

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — The request lacks valid authentication credentials for this resource.
- `403` — The access credentials were considered insufficient to grant access
- `404` — Not Found
- `429` — Rate Limit Exceeded
- `500` — Oops, something went wrong!

---

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