ScansService
Retry Failed SMS Scans
Retry one or more failed Semgrep Managed Scans (SMS). Only scans that are SMS and have failed or never finished can be retried. Send a single scan ID or multiple; returns one task per successful retry and one error per failed retry.
post/api/v2/deployments/{deploymentId}/scans/retry
Request
- The document declares no server URL.
- Auth
- HTTP bearer
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
deploymentIdstring int64 required
The unique numerical identifier of the deployment associated with the scan.
Example:1234
Request body
Example request
{
"scanIds": [
12345,
12346
]
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.