Integrations (v1)
This document uses the v1 API. For more details, see the v1 API.
Add new integration for given organization.
Required permissions
-
View Organization
-
View Integrations
-
Edit Integrations
The organization ID. The API_KEY
must have admin access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
Required permissions
-
View Organization
-
View Integrations
The organization public ID. The API_KEY
must have admin access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
application/json; charset=utf-8
application/json; charset=utf-8
Required permissions
View Organization
-View Integrations
The API_KEY
must have admin access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
Integration type.
Integration type.
application/json; charset=utf-8
application/json; charset=utf-8
-
Update integration's credentials for given organization. Integration must be not brokered
-
Enable or disable brokered integration for given organization. Credentials required for disabling brokered integration
Examples:
Required permissions
-
View Organization
-
View Integrations
-
Edit Integrations
The organization ID. The API_KEY
must have admin access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
The unique identifier for the configured integration. This can be found on the Integration page in the Settings area for all integrations that have been configured.
9a3e5d90-b782-468a-a042-9a2073736f0b
Required permissions
-
View Organization
-
View Integrations
-
Edit Integrations
The organization ID. The API_KEY
must have admin access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
The unique identifier for the configured integration. This can be found on the Integration page in the Settings area for all integrations that have been configured.
9a3e5d90-b782-468a-a042-9a2073736f0b
Required permissions
-
View Organization
-
View Integrations
The organization ID. The API_KEY
must have admin access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
The unique identifier for the configured integration. This can be found on the Integration page in the Settings area for all integrations that have been configured.
9a3e5d90-b782-468a-a042-9a2073736f0b
application/json; charset=utf-8
application/json; charset=utf-8
Clone an integration, including all of its settings and credentials from one organization to another organization in the same group. This API supports both brokered and non-brokered integrations.
Use this API for when you want to share a Broker token between several Snyk organizations (integrations).
Required permissions
-
View Organization
-
View Integrations
-
Edit Integrations
Source organization public ID to clone integration settings from. The API_KEY
must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
Source integration public ID to clone.
4a18d42f-0706-4ad0-b127-24078731fbed
Required permissions
-
View Organization
-
View Integrations
-
Edit Integrations
Removes any credentials set for this integration. If this is a brokered connection the operation will have no effect.
The organization ID. The API_KEY
must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
The integration ID.
4a18d42f-0706-4ad0-b127-24078731fbed
application/json
application/json
No body
Switch the existing broker token with the provisioned token for this integration and any other in the same group. Only perform this action when you have a Broker client running with the provisioned token. This action will fail if there is no token provisioned for this integration or any integration in the same group.
Required permissions
-
View Organization
-
View Integrations
-
Edit Integrations
The API_KEY
must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
4a18d42f-0706-4ad0-b127-24078731fbed
application/json
application/json
No body
Issue a new and unique provisional broker token for the brokered integration.
Used for zero down-time token rotation with the Snyk Broker. Once provisioned, the token can be used to initialize a new broker client before using the switch API to update the token in use by the integration.
The new provisional token will fail to be created if the integration, or any other integration in the same group, already has one provisioned.
Required permissions
-
View Organization
-
View Integrations
-
Edit Integrations
The API_KEY
must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
4a18d42f-0706-4ad0-b127-24078731fbed
application/json
application/json
Last updated
Was this helpful?