Github API - Test Config

POST /repos/{owner}/{repo}/actions/runners/remove-token
actions
repos

Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour.
You must authenticate using an access token with the repo scope to use this endpoint.

Example using remove token

To remove your self-hosted runner from a repository, replace TOKEN with the remove token provided by this endpoint.

./config.sh remove --token TOKEN

Create a remove token for a repository

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

Returns
201 application/json authentication-token

authentication-token [object]

Authentication Token

Attributes
expires_at string

The time this token expires

permissions 1917

repositories repository []

repository_selection string

Describe whether all repositories have been selected or there's a selection involved

single_file string

token string

The token used for authentication

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)