Sign in

Create an organization repository

documented

Create a new repository in the specified organization.

POST /orgs/{org}/reposRepositoriesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.github.com/orgs/{{$org}}/repos" \
  -X POST \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  -H "Content-Type: application/json" \
  -d '{"name": "{{$name}}", "description": "{{$description}}", "homepage": "{{$homepage}}", "private": {{$private}}, "has_issues": {{$has_issues}}, "has_projects": {{$has_projects}}, "has_wiki": {{$has_wiki}}, "team_id": {{$team_id}}, "auto_init": {{$auto_init}}, "gitignore_template": "{{$gitignore_template}}", "license_template": "{{$license_template}}" }'