v14
OpenAPI 3.0.32026-08-04377889.4 MBvcr
Add a repository permission
Grant a team access to a VCR repository. Sharing applies to the whole repository.
post/v1/vcr/repository/{idOrName}/permissions
Path parameters
idOrNamestring required
Query parameters
projectIdstring required
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
Example request
{
"teamId": "team_LLHUOMOoDlqOp8wPE4kFo9pE",
"teamSlug": "my-team"
}Response
Example response
{
"permission": {
"repositoryId": "repo_a1b2c3d4e5f6",
"teamId": "team_a1b2c3d4e5f6",
"teamSlug": "my-team",
"createdAt": "2026-06-30T10:00:00.000Z"
}
}