Restrict Attribute Sync

Hi Patrick,
Could you please elaborate how can we achieive the requirement using the API ?