---
title: "Unlink a pull request from an issue"
method: DELETE
path: "/issues/{issueId}/pull-requests"
tags: ["Issues"]
---

# Unlink a pull request from an issue

`DELETE /issues/{issueId}/pull-requests`

## Request

- Base URL: `https://api.sazabi.com/v1`
- URL: `https://api.sazabi.com/v1/issues/{issueId}/pull-requests`
- Auth: none declared

Remove one exact fixing or suspected-cause relationship. Unlinking is idempotent and never removes a Sazabi Fix PR derived from a Fix request.

## Path parameters

- `issueId` string, uuid, required: Issue to unlink the pull request from.

## Request body

- object
  - `url` string, uri, required: Pull request URL: `https://github.com/{owner}/{repo}/pull/{number}`, `https://bitbucket.org/{workspace}/{repo}/pull-requests/{number}`, or `https://git.cafe/{owner}/{repo}/pull/{number}`.
  - `relation` 'fixes' | 'caused_by', required: Exact relationship to remove.

## Response `200`

OK

- object
  - `removed` boolean, required: False when the exact relationship did not exist.

## Changes

- **2026-10-05** `f8153a7e1664`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sazabi/apis/sazabi-public-api/changes/issues/:issueId/pull-requests/delete.md)

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) - [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sazabi/apis/sazabi-public-api/revisions/965b6230cf45?raw)
