---
title: "Clear all repository permissions"
method: DELETE
path: "/v1/vcr/repository/{idOrName}/permissions/all"
tags: ["vcr"]
---

# Clear all repository permissions

`DELETE /v1/vcr/repository/{idOrName}/permissions/all`

Revoke every team's access to a VCR repository. Clearing an unshared repository is a no-op.

## Path parameters

- `idOrName` string, required

## Query parameters

- `projectId` string, required
- `teamId` string
- `slug` string

## Response `204`

- unknown

## Other responses

- `400` — One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `403` — You do not have permission to access this resource.
- `404`
- `410`

## Changes

- **2026-08-04** `0b0420c2223a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/vercel/apis/api/changes/v1/vcr/repository/:idOrName/permissions/all/delete.md)

---

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