Github API - Test Config

POST /orgs/{org}/actions/runners/remove-token
orgs
actions

Returns a token that you can pass to the config script to remove a self-hosted runner from an organization. The token expires after one hour.

You must authenticate using an access token with the admin:org scope to use this endpoint.

Example using remove token

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

./config.sh remove --token TOKEN

Create a remove token for an organization

Arguments
key org

org [scalar]

The organization name. 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)