The REST API identifies its user with HTTP Basic Authentication. That is, if a function requires authentication, then it requires the Authorization HTTP header, which must be as follows:
Authorization: Basic <userPasswordBase64>
where <userPasswordBase64> is the base64 encoding of <user>:<password>.
For instance, suppose you need to call a function with user="myuser" and password="mypassword". You need to base64-encode the string "myuser:mypassword", which is "bXl1c2VyOm15cGFzc3dvcmQ=", obtaining the following HTTP header:
Authorization: Basic bXl1c2VyOm15cGFzc3dvcmQ=
Starts users synchronization.
POST fw/Apps/ApplicationSuite/WebAPI/UsersManagement/Sync/Start
None
None
Synchronization has started and will run asynchronously using sync sources manually configured and enabled in Imagicle Application Suite Web interface.
Insufficient privilege level
Users synchronization is disabled
User synchronization is already in progress
Synchronization service is down
Start users synchronization on host ias.contoso.com as user admin/admin.
HTTP:
POST /fw/Apps/ApplicationSuite/WebAPI/UsersManagement/Sync/Start HTTP/1.1
Host: ias.contoso.com
Authorization: Basic YWRtaW46YWRtaW4=
cURL:
curl -X POST \
http://ias.contoso.com/fw/Apps/ApplicationSuite/WebAPI/UsersManagement/Sync/Start \
-H 'authorization: Basic YWRtaW46YWRtaW4='