Optionalallow_Whether to allow merge commits. Defaults to true.
Optionalallow_Whether to allow rebase-merging pull requests. Defaults to true.
Optionalallow_Whether to allow squash-merging pull requests. Defaults to true.
Optionalauto_Whether to initialize the repository with a README. Defaults to false.
Optionaldelete_Whether to automatically delete head branches after pull requests are merged. Defaults to false.
OptionaldescriptionRepository description
Optionalgitignore_.gitignore template to apply (e.g., 'Node')
Optionalhas_Whether to enable discussions. Defaults to false.
Optionalhas_Whether to enable issues. Defaults to true.
Optionalhas_Whether to enable projects. Defaults to true.
Optionalhas_Whether to enable the wiki. Defaults to true.
OptionalhomepageHomepage URL
Optionallicense_License template to apply (e.g., 'mit')
Repository name (required)
OptionalprivateWhether the repository is private. Defaults to false.
OptionalvisibilityRepository visibility. Overrides private when provided.
Request body for creating a repository in an organization.
See
https://docs.github.com/en/rest/repos/repos#create-an-organization-repository