Commit aedde12c authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'nelbacha-master-patch-84914' into 'master'

Document pausing a runner

See merge request gitlab-org/gitlab!44142
parents 938c0352 888a693c
......@@ -271,6 +271,22 @@ Example response:
}
```
### Pause a runner
Pause a specific runner.
```plaintext
PUT --form "active=false" /runners/:runner_id
```
| Attribute | Type | Required | Description |
|-------------|---------|----------|---------------------|
| `runner_id` | integer | yes | The ID of a runner |
```shell
curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" --form "active=false" "https://gitlab.example.com/api/v4/runners/6"
```
## List runner's jobs
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/15432) in GitLab 10.3.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment