# Post Endpoint - EnableSyncJobById

Enables a sync job

# HTTP Request

One of the following requests should be made:

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

# Path parameters

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

# 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 is successfully activated.
400 Request contains invalid data.
401 If access is not allowed with the given credentials/data.
500 Activating sync job failed due to an internal server error.

# Example

# Request

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

POST /api/syncjobs/activate(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
Zuletzt aktualisiert: 7. Februar 2025 um 08:35