apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /repos/{owner}/{repo}/issues/{issue_number}/lock — GitHub API

GitHub playground

Lock an issue

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

1 body fields
  • lock_reason · optional · string — The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: * `off-topic` * `too heated` * `resolved` * `spam`