Create a fork

POST {{baseUrl}}/repos/:owner/:repo/forks

Create a fork for the authenticated user.

Note: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact GitHub Support or GitHub Premium Support.

Request Body

{"organization"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring