# Post Endpoint - CancelSharepointSyncJob

Cancels the current execution of a sync job,With this endpoint the execution of SharePoint sync jobs can be canceled. The cancellation will not take effect immediately as the remaining in-flight data is processed.

# HTTP Request

One of the following requests should be made:

POST /api/sh/syncjob/cancel

# Query parameters

Name Description
syncJobId required. ID of sync job which should be cancelled.

# Request headers

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

# Responses

Code Description Type
202 The execution of the sync job has been canceled
400 The format of the sync job id is invalid
404 The sync job does not exist
500 An error occurred while canceling a sync job.
Dernière mise à jour: 21 février 2025 à 09:59