# Enable/disable synchronization job
A synchronization job can be enabled or disabled by calling one of the corresponding endpoints. This determines whether the synchronization job will be executed automatically based on the configured time trigger.
# Enable synchronization job
POST /odata/syncjobs/activate(<syncjobid>)?repository=repo1
Header: Authorization: <bearer_token>
# Disable synchronization job
POST /odata/syncjobs/deactivate(<syncjobid>)?repository=repo1
Header: Authorization: <bearer_token>
# Alternative: Edit synchronization job
Alternatively, the status of the synchronization job can also be set by updating the synchronization job. The property "isActive" must be set, and the values true or false are permitted here.