Update a Sync Rule
Updates a sync rule's name, enabled state, or behaviour flags. The direction, connected system, and object type mappings cannot be changed after creation.
PUT /api/v1/synchronisation/sync-rules/{id}
Path Parameters
| Parameter |
Type |
Description |
id |
integer |
ID of the sync rule |
Request Body
| Parameter |
Type |
Required |
Description |
name |
string |
No |
Sync rule name (1-200 characters) |
enabled |
boolean |
No |
Enable or disable the sync rule |
projectToMetaverse |
boolean |
No |
Update projection setting (import rules) |
provisionToConnectedSystem |
boolean |
No |
Update provisioning setting (export rules) |
enforceState |
boolean |
No |
Update drift enforcement (export rules) |
Examples
Response
Returns 200 OK with the updated Sync Rule object.
Errors
| Status |
Code |
Description |
400 |
VALIDATION_ERROR |
Invalid fields |
401 |
UNAUTHORISED |
Authentication required |
403 |
FORBIDDEN |
Insufficient permissions (Administrator role required) |
404 |
NOT_FOUND |
Sync rule does not exist |