Skip to main content

Retry a completed sync job

Creates a new job using the same configId as the original. Returns 409 if another job is already running.

Request​

Method: POST
Path: /api/sync/external/{jobId}/retry

Authentication: Not required

Parameters​

NameTypeInRequiredDescription
jobIdstringpathYes

Responses​

202 - New job scheduled​

404 - Original job not found or tenant not found​

409 - A sync is already in progress​

503 - Sync event store unavailable​

Examples​

cURL​

curl -X POST \
-H "Content-Type: application/json" \
http://localhost:3000/api/sync/external/{jobId}/retry

JavaScript​

const response = await fetch('http://localhost:3000/api/sync/external/{jobId}/retry', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
});

const data = await response.json();
console.log(data);

This documentation is automatically generated from the OpenAPI specification.