Unique identifier of the self-hosted runner.
Get a self-hosted runner for an organization
Gets a specific self-hosted runner configured in an organization.
You must authenticate using an access token with the admin:org
scope to use this endpoint.
Path Parameters
Response
200 application/json
Response
Response
Self hosted runners
A self hosted runner
The id of the runner.
Example:5
The name of the runner.
Example:iMac
The Operating System of the runner.
Example:macos
The status of the runner.
Example:online
A label for a self hosted runner
Show Child Parameters
Path Parameters
Delete a self-hosted runner from an organization
Forces the removal of a self-hosted runner from an organization. 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 admin:org
scope to use this endpoint.
Path Parameters
Unique identifier of the self-hosted runner.
Response
204
Response
Response
Path Parameters
List organization secrets
Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the admin:org
scope to use this endpoint. GitHub Apps must have the secrets
organization permission to use this endpoint.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
200 application/json
Response
Response
Secrets for GitHub Actions for an organization.
Show Child Parameters
Path Parameters
Query Parameters
Get an organization public key
Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the admin:org
scope to use this endpoint. GitHub Apps must have the secrets
organization permission to use this endpoint.
Path Parameters
Response
200 application/json
Response
Response
ActionsPublicKey
The public key used for setting Actions Secrets.
The identifier for the key.
Example:1234567
The Base64 encoded public key.
Example:hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=
Example:2
Example:https://api.github.com/user/keys/2
Example:ssh-rsa AAAAB3NzaC1yc2EAAA
Example:2011-01-26T19:01:12Z
Path Parameters
Get an organization secret
Gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the admin:org
scope to use this endpoint. GitHub Apps must have the secrets
organization permission to use this endpoint.
Path Parameters
secret_name parameter
Response
200 application/json
Response
Response
Actions Secret for an Organization
Secrets for GitHub Actions for an organization.
The name of the secret.
Example:SECRET_TOKEN
Visibility of a secret
Allowed values:allprivateselected
Example:https://api.github.com/organizations/org/secrets/my_secret/repositories