Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!

Cancel the scheduled auto merge for the given pull request

DELETE
/repos/{owner}/{repo}/pulls/{index}/merge
curl --request DELETE \
--url https://gitea.com/api/v1/repos/example/example/pulls/1/merge \
--header 'Authorization: Basic <credentials>'
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

index
required
integer format: int64

Index of the pull request to merge

APIEmpty is an empty response

APIForbiddenError is a forbidden error response

message
string
url
string

APINotFound is a not found empty response

APIRepoArchivedError is an error that is raised when an archived repo should be modified

message
string
url
string