How to operate validation only when updating from page online and not operate it from REST API
There is email autocomplete validation that check that user do not enter work email because it will entered automatically by process with REST API.
The problem is that error message occur when operating to update by REST API .
How to ensure that validation will work only on online page ?
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):