Manage API access keys
This topic explains how to generate and manage API access keys for various integrations within Prevasio.
Access the API Access tab
Do the following:
From the API Access tab you can:
-
View an API Access Key
When you view an API access key you can copy the Client ID and the Client secret but you cannot edit any fields.
Do the following:
-
Click on the vertical ellipsis to the right of the access key to view.
-
On the options pop-up menu that is displayed, click view.
-
To get the API Token required for Prevasio authorization, copy the Client ID and Client Secret to use in the Log in to the Tenant endpoint.
-
When you finish with the Access key view, click Done to close it.
-
Add a new API Access Key
Do the following:
-
From Settings > Access Management > API Access tab, click +Add key.
The Add Access Key dialog is displayed: -
Fill in the fields as indicated in this table, and then click Add in the lower right corner:
Field Description Access key name Any meaningful text API access session timeout Minutes. Current value is 60 minutes and is editable.
Edit an Access Key
To edit an access key:
Do the following:
-
Click on the vertical ellipsis to the right of the access key that needs editing.
-
On the options pop-up menu that is displayed, click Edit. The Edit access key dialog is displayed.
-
Optionally edit or use fields as follows:
-
Click Save to keep your changes or Cancel to discard them.
Field | Description |
---|---|
Access key name | Edit freely. |
Client ID | Copy this to a safe place. You cannot edit the Client ID. |
Client secret | Copy this to a safe place. You cannot edit the Client secret. |
API access timeout. | You can edit the number of minutes. |
Delete an API Access Key
Deleting an API access key is very simple:
Do the following:
-
Click on the vertical ellipsis to the right of the access key you wish to delete.
-
On the options pop-up menu that is displayed, click delete.
A confirmation Delete access key dialog is displayed, showing the name of the API access key to be deleted. -
Click Yes to delete the key.
Note: You can click No to close the dialog without deleting the API access key.