DevicePreviewsController

Rerun selected device preview targets in the same run

Set failedOnly=false to rerun a successful target. Successful targets consume their configured credit cost again.

post/emails/device-previews/{runId}/targets/rerun

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/emails/device-previews/{runId}/targets/rerun
  • Auth: API key in header x-api-key

Path parameters

runIdstring uuid required

Request body

targetIdsstring[] required

Device preview target IDs to rerun within the existing run. Use target IDs from DevicePreviewRunResultsDto.targets.

failedOnlyboolean required

When true, only selected targets in failed terminal states are rerun. Set false to rerun any selected target; a target that already completed successfully uses its credit cost again. Defaults to true.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.