---
title: "Delete an opt-in repository gate definition"
method: DELETE
path: "/api/v1/cache/r/{repoId}/gates/{id}"
tags: ["Repo Settings"]
---

# Delete an opt-in repository gate definition

`DELETE /api/v1/cache/r/{repoId}/gates/{id}`

## Request

- Base URL: `https://entire.io` (the document declares no server; this is the origin it was published from)
- URL: `https://entire.io/api/v1/cache/r/{repoId}/gates/{id}`
- Auth: none declared

Builtin gates cannot be deleted; entire-api answers 409 for them.

## Path parameters

- `repoId` string, required
- `id` string, required

## Response `204`

Gate deleted

## Other responses

- `404`: Gate not found
- `409`: Builtin gates cannot be deleted

## Changes

- **2026-10-20** `aeb83a0fe3e5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/entire/apis/entire-api/changes/api/v1/cache/r/:repoId/gates/:id/delete.md)

---

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