---
title: "Delete a self-hosted runner from a repository"
method: DELETE
path: "/repos/{owner}/{repo}/actions/runners/{runner_id}"
tags: ["actions"]
---

# Delete a self-hosted runner from a repository

`DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}`

Forces the removal of a self-hosted runner from a repository. 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 `repo`
scope to use this endpoint.

## Path parameters

- `owner` string, required
- `repo` string, required
- `runner_id` integer, required

## Response `204`

Response

---

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