# Delete Endpoint - DeleteSyncJobById

Deletes a sync job

# HTTP Request

One of the following requests should be made:

DELETE /odata/syncjobs({key})
DELETE /odata/syncjobs/{key}

# Path parameters

Name Description
key required

# Query parameters

Name Description
repository optional. Destination repository key.

# Request headers

Name Description
Authorization required. Bearer {token}. See authorization

# Responses

Code Description Type
200 With value true if deletion was successful otherwise false. boolean
400 Request contains invalid data.
401 If access is not allowed with the given credentials/data.
404 If no sync job with the given id could be found.
500 When an internal server occurs during the deletion of sync job.

# Example

# Request

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

DELETE /odata/syncjobs(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