Lock an issue
PUT {{baseUrl}}/repos/:owner/:repo/issues/:issue_number/lock
Users with push access can lock an issue or pull request's conversation.
Note that, if you choose not to pass any parameters, you'll need to set Content-Length
to zero when calling out to this endpoint. For more information, see [HTTP verbs](https://developer.github.com/v3/#http-verbs).
Request Body
{"lock_reason"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |