---
title: "Update a global runner"
method: PATCH
path: "/admin/actions/runners/{runner_id}"
tags: ["admin"]
---

# Update a global runner

`PATCH /admin/actions/runners/{runner_id}`

## Path parameters

- `runner_id` string, required

## Request body

- EditActionRunnerOption
  - `disabled` boolean, required

## Response `200`

Runner

- ActionRunner — ActionRunner represents a Runner
  - `busy` boolean
  - `disabled` boolean
  - `ephemeral` boolean
  - `id` integer
  - `labels` ActionRunnerLabel[]
    - `id` integer
    - `name` string
    - `type` string
  - `name` string
  - `status` string

## Other responses

- `400` — APIError is error format response
- `404` — APINotFound is a not found empty response
- `422` — APIValidationError is error format response related to input validation

---

[API](https://skmtc.net/gitea/apis/gitea-api.md) · [All operations](https://skmtc.net/gitea/apis/gitea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitea/gitea-api/versions/350de506cefa/schema)
