name | example | route | scope | type |
---|---|---|---|---|
Add custom labels to a self-hosted runner for an organization |
octokit.rest.actions.addCustomLabelsToSelfHostedRunnerForOrg({ org, runner_id, labels }) |
POST /orgs/{org}/actions/runners/{runner_id}/labels |
actions |
API method |
Add custom labels to a self-hosted runner configured in an organization.
You must authenticate using an access token with the admin:org
scope to use this endpoint.
octokit.rest.actions.addCustomLabelsToSelfHostedRunnerForOrg({
org,
runner_id,
labels,
});
name | required | description |
---|---|---|
org | yes |
The organization name. The name is not case sensitive. |
runner_id | yes |
Unique identifier of the self-hosted runner. |
labels | yes |
The names of the custom labels to add to the runner. |
See also: GitHub Developer Guide documentation.