---
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`

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.
  - `enable_debugger` boolean — Whether to enable the debugger for the re-run of this job.

## Response `201`

Response

- EmptyObject — An object without any properties.

## Other responses

- `403` — Forbidden

---

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