/
/Gogs API
ChangesDocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 9h ago · Updated 2mo ago
Administration12
Collaborators and Deploy Keys8
Issues25
  • getList issues for a repository
  • postCreate an issue
  • getGet a single issue
  • patchEdit an issue
  • getList comments on an issue
  • postCreate a comment
  • getList comments in a repository
  • deleteDelete a comment
  • patchEdit a comment
  • getList all labels for a repository
  • postCreate a label
  • getGet a single label
  • deleteDelete a label
  • patchUpdate a label
  • getList labels on an issue
  • putReplace all labels for an issue
  • postAdd labels to an issue
  • deleteRemove all labels from an issue
  • deleteRemove a label from an issue
  • getList milestones for a repository
  • postCreate a milestone
  • getGet a single milestone
  • deleteDelete a milestone
  • patchEdit a milestone
  • getList issues assigned to the authenticated user
Miscellaneous4
Organizations6
Releases1
Repositories23
Users21
Webhooks4
    Issues

    Update a label

    patch/repos/{owner}/{repo}/labels/{id}

    Path parameters

    ownerstring required

    Repository owner

    repostring required

    Repository name

    idstring required

    Label ID

    Request body

    namestring
    colorstring

    Response

    Success

    idinteger
    namestring
    colorstring
    urlstring

    Changes