Delete a self-hosted runner from a repository

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.

DELETE /repos/:owner/:repo/actions/runners/:runner_id

Response

Status: 204 No Content