Skip to main content
POST
Requeue a dead-lettered registration
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

POST /work/registrations//requeue Description: Operator override for a registration the worker has given up on (H-17). queue cannot do this: a dead-lettered row has exhausted attempts, so it comes back “Only pending registrations can be queued”. Resets every field proSubmissionService selects on — clears isDeadLettered, sets attempts to 0, registrationStatus back to pending, and queuedAt to now — and clears lastErrorMessage so a stale error does not read as a fresh failure. lastAttemptAt is kept: it is the record of when the row last ran. Only a dead-lettered row may be requeued; anything else returns 400 with the current status, because resetting a live row’s attempt count would hide a failure in progress. This is the only path that clears isDeadLettered, so a row can never re-arm itself. Authorization:
  • Required role: admin or higher
Method: POST

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Response

Registration requeued

success
boolean
Example:

true

data
object