Fortinet white logo
Fortinet white logo

User Guide

IAM Users

IAM Users

The IAM users can authenticate with FortiEdge Cloud and obtain access token with the following web call (Canada domain is used in this example).

Request

$ curl https://ca.fortiedge.forticloud.com/api/v1/auth -H 'Content-Type: application/json' -d '{"accountId":"acct1@example.com","userName":"user2","password":"1234", "type":"iamuser"}'

The type parameter is to be set to iamuser. If this parameter is not provided then it defaults to emailuser.

Ensure that the IAM user is created with Admin role for FortiEdge Cloud portal. Invalidate the access token after it is no longer required as for Email users in the preceding section.

IAM Users

IAM Users

The IAM users can authenticate with FortiEdge Cloud and obtain access token with the following web call (Canada domain is used in this example).

Request

$ curl https://ca.fortiedge.forticloud.com/api/v1/auth -H 'Content-Type: application/json' -d '{"accountId":"acct1@example.com","userName":"user2","password":"1234", "type":"iamuser"}'

The type parameter is to be set to iamuser. If this parameter is not provided then it defaults to emailuser.

Ensure that the IAM user is created with Admin role for FortiEdge Cloud portal. Invalidate the access token after it is no longer required as for Email users in the preceding section.