---
title: "Changes to Create a repository using a template"
method: POST
path: "/repos/{template_owner}/{template_repo}/generate"
---

# Changes to Create a repository using a template

`POST /repos/{template_owner}/{template_repo}/generate`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 50 revisions.

- **2024-02-14** (3.8) `258fbce0110a` — 12 warning
- **2023-11-28** (3.8) `145a50f297f8` — 10 breaking, 1 warning, 149 info

## Changes

- **2024-02-14** (3.8) `258fbce0110a` — 12 warning
  - removed the optional property `parent/network_count` from the response with the `201` status
  - removed the optional property `parent/organization` from the response with the `201` status
  - removed the optional property `parent/subscribers_count` from the response with the `201` status
  - removed the optional property `parent/template_repository` from the response with the `201` status
  - removed the optional property `source/network_count` from the response with the `201` status
  - removed the optional property `source/organization` from the response with the `201` status
  - removed the optional property `source/subscribers_count` from the response with the `201` status
  - removed the optional property `source/template_repository` from the response with the `201` status
  - removed the optional property `template_repository/network_count` from the response with the `201` status
  - removed the optional property `template_repository/organization` from the response with the `201` status
  - removed the optional property `template_repository/subscribers_count` from the response with the `201` status
  - removed the optional property `template_repository/template_repository` from the response with the `201` status
- **2023-11-28** (3.8) `145a50f297f8` — 10 breaking, 1 warning, 149 info
  - the response property `temp_clone_token` became nullable for the status `201`
  - the response property `template_repository/created_at` became nullable for the status `201`
  - the response property `template_repository/description` became nullable for the status `201`
  - the response property `template_repository/homepage` became nullable for the status `201`
  - the response property `template_repository/language` became nullable for the status `201`
  - the response property `template_repository/mirror_url` became nullable for the status `201`
  - the response property `template_repository/owner/gravatar_id` became nullable for the status `201`
  - the response property `template_repository/pushed_at` became nullable for the status `201`
  - the response property `template_repository/updated_at` became nullable for the status `201`
  - the response property `has_downloads` became optional for the status `201`
  - removed the optional property `starred_at` from the response with the `201` status
  - added the optional property `code_of_conduct` to the response with the `201` status
  - added the optional property `parent` to the response with the `201` status
  - added the optional property `security_and_analysis` to the response with the `201` status
  - added the optional property `source` to the response with the `201` status
  - added the optional property `template_repository/allow_forking` to the response with the `201` status
  - added the optional property `template_repository/anonymous_access_enabled` to the response with the `201` status
  - added the optional property `template_repository/has_discussions` to the response with the `201` status
  - added the optional property `template_repository/master_branch` to the response with the `201` status
  - added the optional property `template_repository/organization` to the response with the `201` status
  - added the optional property `template_repository/owner/email` to the response with the `201` status
  - added the optional property `template_repository/owner/name` to the response with the `201` status
  - added the optional property `template_repository/owner/starred_at` to the response with the `201` status
  - added the optional property `template_repository/starred_at` to the response with the `201` status
  - added the optional property `template_repository/template_repository` to the response with the `201` status
  - added the optional property `template_repository/web_commit_signoff_required` to the response with the `201` status
  - the response property `has_discussions` became required for the status `201`
  - the response property `network_count` became required for the status `201`
  - the response property `subscribers_count` became required for the status `201`
  - the response property `template_repository/archive_url` became required for the status `201`
  - the response property `template_repository/archived` became required for the status `201`
  - the response property `template_repository/assignees_url` became required for the status `201`
  - the response property `template_repository/blobs_url` became required for the status `201`
  - the response property `template_repository/branches_url` became required for the status `201`
  - the response property `template_repository/clone_url` became required for the status `201`
  - the response property `template_repository/collaborators_url` became required for the status `201`
  - the response property `template_repository/comments_url` became required for the status `201`
  - the response property `template_repository/commits_url` became required for the status `201`
  - the response property `template_repository/compare_url` became required for the status `201`
  - the response property `template_repository/contents_url` became required for the status `201`
  - …120 more

---

[Operation](https://skmtc.dev/github/apis/enterprise-server/docs/repos/:template_owner/:template_repo/generate/post.md) · [API](https://skmtc.dev/github/apis/enterprise-server.md) · [Page](https://skmtc.dev/github/apis/enterprise-server/changes/repos/:template_owner/:template_repo/generate/post)
