git

Delete a reference

Deletes the provided reference.

delete/repos/{owner}/{repo}/git/refs/{ref}

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/repos/{owner}/{repo}/git/refs/{ref}
  • Auth: none declared

Path parameters

ownerstring required

The account owner of the repository. The name is not case sensitive.

repostring required

The name of the repository without the .git extension. The name is not case sensitive.

refstring required

The Git reference. For more information, see "Git References" in the Git documentation.

Response

Response

Changes

No recorded changes to this operation across all 83 revisions of this API.