Skip to content

Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored.

POST
/repos/{owner}/{repo}/issues/{index}/deadline
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

index
required
integer format: int64

Index of the issue to create or update a deadline on

Media typeapplication/json

EditDeadlineOption options for creating a deadline

object
due_date
required
string format: date-time
Examplegenerated
{
"due_date": "2026-04-15T12:00:00Z"
}

IssueDeadline

Media typeapplication/json

IssueDeadline represents an issue deadline

object
due_date
string format: date-time
Examplegenerated
{
"due_date": "2026-04-15T12:00:00Z"
}

APIForbiddenError is a forbidden error response

Media typeapplication/json
object
message
string
url
string
Examplegenerated
{
"message": "example",
"url": "example"
}

APINotFound is a not found error response

Media typeapplication/json
object
errors
Array<string>
message
string
url
string
Examplegenerated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}