---
title: "Dequeue a pull request from the merge queue"
method: POST
path: "/repos/{owner}/{repository}/merge-queue/pull/{pr_number}/dequeue"
tags: ["merge_queue"]
---

# Dequeue a pull request from the merge queue

`POST /repos/{owner}/{repository}/merge-queue/pull/{pr_number}/dequeue`

Manually remove the given pull request (and its queued stack successors) from the merge queue

## Path parameters

- `pr_number` integer, required — The pull request number
- `owner` string, required — The owner of the repository
- `repository` string, required — The name of the repository

## Response `204`

Successful Response

## Other responses

- `403` — Forbidden
- `404` — The pull request is not found in any merge queue.
- `409` — Conflict
- `422` — Unprocessable entity

## Changes

- **2026-08-28** `b3864dcc206a` — 1 info
  - the endpoint scheme security `MergifyTokenBearerAuth` was added to the API
- **2026-08-13** `29857c6146cf` — 2 info
  - the endpoint scheme security `AdminApplicationKey` was added to the API
  - the endpoint scheme security `ApplicationAuth` was removed from the API

[Change history](https://skmtc.dev/mergify/apis/mergify-api/changes/repos/:owner/:repository/merge-queue/pull/:pr_number/dequeue/post.md)

---

[API](https://skmtc.dev/mergify/apis/mergify-api.md) · [All operations](https://skmtc.dev/mergify/apis/mergify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mergify/mergify-api/revisions/b3864dcc206a/schema)
