vcr

Remove a repository permission

Changed on

Revoke a team's access to a VCR repository.

delete/v1/vcr/repository/{idOrName}/permissions

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/vcr/repository/{idOrName}/permissions
  • Auth: HTTP bearer

Path parameters

idOrNamestring required

Query parameters

projectIdstring required

Project ID or name (slug) within the authenticated team. IDs take precedence over names. Missing or empty values return HTTP 400.

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

teamIdstring

ID of a team that is granted access to a repository.

teamSlugstring

Slug of a team that is granted access to a repository.

Example request

{
  "teamId": "team_LLHUOMOoDlqOp8wPE4kFo9pE",
  "teamSlug": "my-team"
}

Response

unknown required

Changes