---
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.

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

## Path parameters

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

## Response `204`

Response

## Other responses

- `422` — Validation failed, or the endpoint has been spammed.

---

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