gh_repos_delete_git_refs_by_ref: Delete a Reference

Description Usage Arguments Details

Description

Example: Deleting a branch: DELETE /repos/octocat/Hello-World/git/refs/heads/feature-a Example: Deleting a tag: DELETE /repos/octocat/Hello-World/git/refs/tags/v1.0

Usage

1

Arguments

owner

Name of repository owner.

repo

Name of repository.

ref

ref

...

Additional parameters to pass to gh. See details.

Details

Additional parameters that can be passed:

type

It takes values in: all, public, private, forks, sources, member. The default is: all

Accept

Is used to set specified media type.


ramnathv/gh3 documentation built on May 7, 2019, 12:53 a.m.