Skip to main content

tag_protection

Overview

Nametag_protection
TypeResource
Idgithub.repos.tag_protection

Fields

NameDatatype
idinteger
created_atstring
enabledboolean
patternstring
updated_atstring

Methods

NameAccessible byRequired ParamsDescription
list_tag_protectionSELECTowner, repoThis returns the tag protection states of a repository.

This information is only available to repository administrators.
create_tag_protectionINSERTowner, repo, data__patternThis creates a tag protection state for a repository.
This endpoint is only available to repository administrators.
delete_tag_protectionDELETEowner, repo, tag_protection_idThis deletes a tag protection state for a repository.
This endpoint is only available to repository administrators.