API referenceAudit

POST /audit/jobs/{jobId}/recover

POST
/audit/jobs/{jobId}/recover

Path Parameters

jobId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/audit/jobs/string/recover" \  -H "Content-Type: application/json" \  -d '{    "confirmWorkerStopped": true,    "reason": "string"  }'
{  "$schema": "https://example.com/schemas/LedgerJob.json",  "createdAt": "2019-08-24T14:15:22Z",  "cursor": "string",  "errorCode": "string",  "id": "string",  "kind": "string",  "processed": 0,  "recoveryRequired": true,  "result": null,  "state": "string",  "updatedAt": "2019-08-24T14:15:22Z"}