---
title: "Re-run a job from a workflow run"
method: POST
path: "/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"
tags: ["actions"]
---

# Re-run a job from a workflow run

`POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun`

## Request

- Base URL: `http://HOSTNAME/api/v3`
- URL: `http://HOSTNAME/api/v3/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun`
- Auth: none declared

Re-run a job and its dependent jobs in a workflow run.

OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.

## Path parameters

- `owner` string, required
- `repo` string, required
- `job_id` integer, required

## Request body

- object, nullable
  - `enable_debug_logging` boolean: Whether to enable debug logging for the re-run.

## Response `201`

Response

- EmptyObject: An object without any properties.

## Other responses

- `403`: Forbidden

---

[API](https://skmtc.dev/github/apis/enterprise-server.md) · [All operations](https://skmtc.dev/github/apis/enterprise-server/llms.txt) · [OpenAPI document](https://skmtc.dev/github/apis/enterprise-server/revisions/5438365412fe?raw)
