Allow API access to administrators
You can allow API access to administrators with specific read-write permissions.
Add an administrator profile
Create an administrator profile with read-write permission for objects and network.
- Go to Profiles > Device access and create an administrator profile with specific rights.
-
Click Save.
Add an administrator
Create a user and add the administrator profile.
When you add a user with the API administrator profile, you can limit the administrator's rights based on the profile. Alternatively, you can use an existing administrator account.
- Go to Authentication > Users and click Add.
- Set User type to Administrator.
- Select the API administrator profile you created.
- To allow access for a specific time, select the Access time.
- To allow access only from specific IP addresses, select an option for Login restriction for device access.
-
Click Save.
Allow API access
Turn on API configuration and allow API access from the administrator's IP address.
- Go to Backup and firmware > API.
- Select API configuration.
-
For Allowed IP address, enter the IP address from which you'll make the API request and click the add button.
Note
Make sure the zone of the administrator's IP address has access to the web admin console. You can do this on Administration > Device access using Local service ACL or Local service ACL exception rule.
-
Click Apply.
More resources