The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Unique identifier of the self-hosted runner.
Gets a specific self-hosted runner configured in an enterprise.
You must authenticate using an access token with the admin:enterprise
scope to use this endpoint.
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Unique identifier of the self-hosted runner.
Response
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
Forces the removal of a self-hosted runner from an enterprise. 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:enterprise
scope to use this endpoint.
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Unique identifier of the self-hosted runner.
Response
List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
One of asc
(ascending) or desc
(descending).
Allowed values:ascdesc
Default:desc
The sort order for the response collection.
Allowed values:createdupdatedname
Default:created
Response
pre_receive_hook_id parameter
Response
For pre-receive hooks which are allowed to be configured at the org level, you can set enforcement
and allow_downstream_configuration
pre_receive_hook_id parameter
The state of enforcement for the hook on this repository.
Whether repositories can override enforcement.
Response