Fortinet white logo
Fortinet white logo

Curl examples (Linux)

Curl examples (Linux)

Getting access token
curl -X POST https://fic.fortinet.com:9696/api/v1/login -H "Content-Type: application/json" -d "{\"client_id\": \"c8585630**************81b7485\", \"client_ secret\": \"************************************Wl3w==\"}" --insecure
Creating user with access token
curl -X GET https://fic.fortinet.com:9696/api/v1/user/base -H "Content-Type: application/json" -H "Authorization: Bearer eyJ0eXAi**********************************************************01Q6to" –insecure

Curl examples (Linux)

Curl examples (Linux)

Getting access token
curl -X POST https://fic.fortinet.com:9696/api/v1/login -H "Content-Type: application/json" -d "{\"client_id\": \"c8585630**************81b7485\", \"client_ secret\": \"************************************Wl3w==\"}" --insecure
Creating user with access token
curl -X GET https://fic.fortinet.com:9696/api/v1/user/base -H "Content-Type: application/json" -H "Authorization: Bearer eyJ0eXAi**********************************************************01Q6to" –insecure