SonicOS API supports the RFC-7616 HTTP Digest Access Authentication scheme as its most secure. It includes:
For SonicOS API HTTP Digest Access Authentication, use the Linux command-line curl command with the -u option:
Login:
curl -k -i -u admin:password -digest -X HEAD https://a.b.c.d/api/sonicos/auth