---
title: "Decline & close the session's open PR on GitHub without merging"
method: POST
path: "/missions/{issueId}/decline"
tags: ["missions"]
---

# Decline & close the session's open PR on GitHub without merging

`POST /missions/{issueId}/decline`

## Request

- Base URL: `https://api.letsship.ai/v1`
- URL: `https://api.letsship.ai/v1/missions/{issueId}/decline`
- Auth: none declared

## Path parameters

- `issueId` string, required

## Response `200`

Closed

- DeclineMissionResponse
  - `ok` boolean, required
  - `issueId` string, required

## Other responses

- `403`: Insufficient role or scope
- `404`: Not found
- `502`: GitHub error

---

[API](https://skmtc.dev/letsship/apis/ship-api.md) · [All operations](https://skmtc.dev/letsship/apis/ship-api/llms.txt) · [OpenAPI document](https://skmtc.dev/letsship/apis/ship-api/revisions/e6eac1bcadd4?raw)
