Fortinet white logo
Fortinet white logo

Integration API Guide

Create or Update Credentials

Create or Update Device Credentials

This API enables you to create or update device credentials in Enterprise and Service Provider deployments.

The key is the credential name in the input XML. If a credential with the same name exists, then the credential in the database will be updated with the new content.

Release Added

5.1

MethodologyREST API based: Caller makes an HTTP(S) request with an input XML.
Request URLhttps://<FortiSIEM_Supervisor_IP>/phoenix/rest/deviceMon/updateCredential
Input Credentials
  • Enterprise deployments: User name and password of any FortiSIEM account that has the appropriate access. Use "super" as the organization for Enterprise deployments.
    Curl example: curl -k -u super/admin:Admin*123
  • Service Provider deployments: User name and password of Super Global account or Organization specific account and name. Make sure that the account has the appropriate access.
    Curl example with super organization: curl -k -u super/admin:Admin*123
    If querying for a specific organization, replace "super" with the organization name.
Input XMLAn XML file containing credentials and IP to credential mappings.
OutputAn HTTP status code.

Refer to Example Usage creating or updating device credentials.

Create or Update Credentials

Create or Update Device Credentials

This API enables you to create or update device credentials in Enterprise and Service Provider deployments.

The key is the credential name in the input XML. If a credential with the same name exists, then the credential in the database will be updated with the new content.

Release Added

5.1

MethodologyREST API based: Caller makes an HTTP(S) request with an input XML.
Request URLhttps://<FortiSIEM_Supervisor_IP>/phoenix/rest/deviceMon/updateCredential
Input Credentials
  • Enterprise deployments: User name and password of any FortiSIEM account that has the appropriate access. Use "super" as the organization for Enterprise deployments.
    Curl example: curl -k -u super/admin:Admin*123
  • Service Provider deployments: User name and password of Super Global account or Organization specific account and name. Make sure that the account has the appropriate access.
    Curl example with super organization: curl -k -u super/admin:Admin*123
    If querying for a specific organization, replace "super" with the organization name.
Input XMLAn XML file containing credentials and IP to credential mappings.
OutputAn HTTP status code.

Refer to Example Usage creating or updating device credentials.