/repos/{owner}/{repo}/dependabot/alerts/{alert_number}Update a Dependabot alert
Updates the state, dismissal details, assignees, or agent assignment for a Dependabot alert. Supply state to change the alert state or assignees to replace its assignee set; when state is dismissed, also provide dismissed_reason, and use agent_assignment only when assigning an agent bot. The response returns the updated alert, including its current security advisory and assignment-related state.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
Dependabot alert fields to update. Provide at least one of state or assignees; other fields configure dismissal or agent assignment.
A 400 is returned when the request fails validation, while a 403 indicates that the authenticated user lacks access to repository security alerts. A 404 means the repository or alert_number was not found, a 409 indicates a conflicting update, a 410 means the resource is no longer available, and a 422 indicates validation failure or endpoint abuse. Provide at least one of state or assignees; state must be dismissed or open, and a dismissed state requires dismissed_reason.