Activate Sync

Sets whether a model sync is active. Only active syncs execute on schedule or in response to a manual trigger. Set `active` to `false` to pause a sync without deleting it. > 📘 Deactivating a sync does not cancel an execution that is already in > progress. Use [`POST /api/syncs/{id}/cancel`](../../../../api-reference/model-sync/cancel) to stop a > running execution.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Path parameters

idstringRequiredformat: "uuid"

Headers

X-Polytomic-VersionstringRequired

Request

This endpoint expects an object.
activebooleanRequired

Response

OK
dataobject

Errors

403
Forbidden Error
404
Not Found Error
500
Internal Server Error