---
title: "Delete a custom image from the enterprise"
method: DELETE
path: "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}"
tags: ["actions"]
---

# Delete a custom image from the enterprise

`DELETE /enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}`

Delete a custom image from the enterprise.

OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.

## Path parameters

- `enterprise` string, required
- `image_definition_id` integer, required

## Response `204`

Response

---

[API](https://skmtc.net/github/apis/enterprise-cloud.md) · [All operations](https://skmtc.net/github/apis/enterprise-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/enterprise-cloud/revisions/daeba3129b5f/schema)
