# Post Endpoint - RunSyncJob

Starts execution of sync job with provided id.

# HTTP Request

One of the following requests should be made:

POST /api/syncjobs/run({syncJobId})
POST /api/syncjobs/run/{syncJobId}

# Path parameters

Name Description
syncJobId required. ID of sync job which have to synchronized.

# Query parameters

Name Description
repository optional. Destination repository key.

# Request headers

Name Description
Authorization required. Bearer {token}. See authorization
Content-Type required. application/json

# Responses

Code Description Type
200 Sync job synchronization started successfully.
400 Request contains invalid data.
401 If access is not allowed with the given credentials/data.
500 Starting sync job synchronization failed due to an internal server error.

# Example

# Request

The following is an example of how to call the endpoint:

POST /api/syncjobs/run(1)?repository=repo1

# Response

The following example shows the response:

Information

The response object is truncated for clarity. Default properties will be returned from the call.

HTTP/1.1 200 OK
Last updated: February 14, 2025 at 8:26 AM