How to authenticate API calls using Windows authentication in CURL?
Orchestrator APIs can be directly authenticated by passing using --nltm -u: in the call.
Find the sample call below:
- The highlighted portions indicate where the Windows authentication is being done:
The below curl command can also be used for API calls
- curl -v -L --ntlm --negotiate -u username:password --insecure https://orchURL/odata/folders
Note: Ensure that the user has permission in orchestrator to perform the action being called using the API.