Skip to content

Stop an issue's existing stopwatch.

POST
/repos/{owner}/{repo}/issues/{index}/stopwatch/stop
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

index
required
integer format: int64

Index of the issue to stop the stopwatch on

APIEmpty is an empty response

Media type application/json

Not repo writer, user does not have rights to toggle stopwatch

Media type application/json

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}

Cannot stop a non existent stopwatch

Media type application/json