Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support
This is the documentation of 27.3.11, which is no longer the latest release. See the latest release.

Reopen a dismissed dependency alert

Deprecated
POST
/repos/{owner}/{repo}/security/dependency_alerts/{index}/reopen
curl --request POST \
--url https://gitea.example.com/api/v1/repos/example/example/security/dependency_alerts/1/reopen \
--header 'Authorization: Basic <credentials>'

Gitea Enterprise only. This endpoint is not part of the community edition.

Deprecated in favor of POST /repos/{owner}/{repo}/security/findings/{index}/reopen, which reopens the same alert of the unified findings table. This endpoint keeps its behavior and stays available to existing clients.

owner
required
string

Name of the owner

repo
required
string

Name of the repository

index
required
integer

Index of the alert

APIEmpty is an empty response

APIError is error format response

message
string
url
string

APINotFound is a not found empty response

APIError is error format response

message
string
url
string