Examples for the Update existing integration endpoint
Set up Broker for an existing integration
Command
curl --include \
--request PUT \
--header "Content-Type: application/json; charset=utf-8" \
--header "Authorization: token API_KEY" \
--data-binary "{
\"type\": \"github\",
\"broker\": { \"enabled\": true }
}" \
'https://api.snyk.io/v1/org/{orgId}/integrations/{integrationId}'Response
{
"id": "9a3e5d90-b782-468a-a042-9a2073736f0b",
"brokerToken": "4a18d42f-0706-4ad0-b127-24078731fbed"
}Possible values for Type (integration type, enum)
Credentials needed for the integration you are updating
Snyk permissions needed
Update credentials for an existing non-brokered integration
Command
Response
Possible values for Type (integration type, enum)
Credentials needed for the integration you are updating
Snyk permissions needed
Disable broker for an existing integration
Command
Response
Last updated
Was this helpful?

