Clear all repository permissions
DEL
https://api.vercel.com/v1/vcr/repository/{idOrName}/permissions/allRevoke every team's access to a VCR repository. Clearing an unshared repository is a no-op.
https://api.vercel.com/v1/vcr/repository/{idOrName}/permissions/all
const response = await fetch('https://api.vercel.com/v1/vcr/repository/idOrName/permissions/all?projectId=string&teamId=string&slug=string', { method: 'DELETE', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
"value"AuthorizationbearerToken
Default authentication mechanism