---
title: "Remove saved permission"
method: DELETE
path: "/api/permission/saved/{id}"
tags: ["permission"]
---

# Remove saved permission

`DELETE /api/permission/saved/{id}`

## Request

- Base URL: `https://opencode.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://opencode.ai/api/permission/saved/{id}`
- Auth: none required

Remove a saved permission by ID.

## Path parameters

- `id` string, required

## Response `204`

<No Content>

## Other responses

- `400`: InvalidRequestError
- `401`: UnauthorizedError

## Changes

> 50 revisions in range; 1 not diffed.

- **2026-10-25** `7565a68e48f6`: 1 info
  - removed the non-success response with the status `404`

[Operation history](https://skmtc.dev/kaaass/apis/opencode/changes/api/permission/saved/:id/delete.md)

---

[API](https://skmtc.dev/kaaass/apis/opencode.md) - [All operations](https://skmtc.dev/kaaass/apis/opencode/llms.txt) - [OpenAPI document](https://skmtc.dev/kaaass/apis/opencode/revisions/4e083d954707?raw)
