---
title: "Remove a repository permission"
method: DELETE
path: "/v1/vcr/repository/{idOrName}/permissions"
tags: ["vcr"]
---

# Remove a repository permission

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

Revoke a team's access to a VCR repository.

## Path parameters

- `idOrName` string, required

## Query parameters

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

## Request body

- object
  - `teamId` string — ID of a team that is granted access to a repository.
  - `teamSlug` string — Slug of a team that is granted access to a repository.

## Response `204`

- unknown

## Other responses

- `400` — One of the provided values in the request body is invalid. 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`

---

[API](https://skmtc.net/vercel/apis/api.md) · [All operations](https://skmtc.net/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/api/versions/61d1ba3f6dac/schema)
