Integration Options
Updating Integration Options
Integration option values can be updated via a PATCH HTTP request to the integration-options
endpoint.
Updating an option value requires knowing the id
of the integration option you want to update. The integration option id
is a compound id
constructed by joining the integration id, a dash, and then the option key.
For example, if the integration id is virustotal_node_18_1725278818
and the option key is apiKey
then the option id would be:
The option key can be found by querying for the integration's attributes via the GET /api/integrations/<INTEGRATION_ID>
endpoint. For more information on this endpoint see:
The key
property specifies a value of apiKey
which is the option key value used to construct the option id.
Integration Option Permissions
Each integration option has permissions associated with it that are set via the adminOnly
and userCanEdit
boolean flags. These flags correspond to the option permissions that each option have in the integration settings page via the web application.
The following table shows how the the two values map to the values displayed in the UI
true
false
Lock and hide option for all users
true
true
Invalid combination
false
false
Lock and show option for all users
false
true
User provides option value
As an example, if you wanted to set VirusTotal so that the provided API key is locked and hidden (i.e., "Lock and hide option for all users", you would send the following payload:
You can update multiple options for the same integration at the same time by passing them into the data
property of the payload. For example, the following payload would update the apiKey
and maxAge
option for the AbuseIPDB integration with an integration id of abuseipdb_3_3_4_node_18_71ff23754e_1725342515
.
Last updated