---
title: "Delete a self-hosted runner from an enterprise"
method: DELETE
path: "/enterprises/{enterprise}/actions/runners/{runner_id}"
tags: ["enterprise-admin"]
---

# Delete a self-hosted runner from an enterprise

`DELETE /enterprises/{enterprise}/actions/runners/{runner_id}`

Forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.

You must authenticate using an access token with the `manage_runners:enterprise` scope to use this endpoint.

## Path parameters

- `enterprise` string, required
- `runner_id` integer, required

## Response `204`

Response

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-5.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-5/versions/50ae54440071/schema)
