Azure DevOps Unable to 'Disable Forks' using CLI or REST API
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
I went through CLI documentation to find a switch to 'Disable/Enable Fork' . Similarly looked at the REST API reference but could not find it. I need this to disable forking in all of my git repos in the AzDo project
https://docs.microsoft.com/en-us/azure/devops/repos/git/repository-settings?view=azure-devops&tabs=azure-devops-cli#enable-forks

---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: d7db2cb6-afa5-8f4a-f3a2-4c51e329431c
* Version Independent ID: 26d97a17-7e5c-e099-8281-34b1a2307419
* Content: [az repos](https://docs.microsoft.com/en-us/cli/azure/repos?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/repos.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/repos.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Contributor guide
Assessment
This issue has not been assessed yet.