Description | This article describes how to resolve an issue that users might face when using an API call with FortiEdge Cloud. |
Scope | FortiEdgeCloud. |
Solution |
Due to the recent migration of FortiLAN cloud to FortiEdge cloud, the API call also has to be modified by the users when performing an API call.
Previous API call:
curl https://customerapiauth.fortinet.com/api/v1/oauth/token/ -H 'Content-Type: application/json' -d '{\"username\": \"$api_id\", \"password\": \"$password\", \"client_id\": \"fortilancloud\", \"grant_type\": \"password\"}'
curl -H "Authorization: Bearer xxxxx" https:eu.fortilandcloud.com/api/v1/networks
New API Call:
curl https://customerapiauth.fortinet.com/api/v1/oauth/token/ -H 'Content-Type: application/json' -d '{\"username\": \"$api_id\", \"password\": \"$password\", \"client_id\": \"fortiedgecloud\", \"grant_type\": \"password\"}'
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.