Skip to main content
POST
Add Semgrep CI Secrets to GitHub Repositories

Authorizations

Authorization
string
header
required

Get access to data with your API token. Example header:

Authorization: Bearer 2991e2fb4b540fe75b8f90677b0b892b6314e4961cb001fe6eb452eee248a628

The token can be provisioned from the Tokens section in your Settings, and requires explicitly enabling Web API access.

Path Parameters

deploymentId
string
required

id of the deployment

Body

application/json
deploymentId
string

id of the deployment

filters
object

filters to specify which repos to add the secret to

excludeIds
string[]

repos to exclude from the changes

Response

200 - application/json

OK

repoTokenIds
object

map of repo ids to the token ids

errors
object[]

errors and the ids of the impacted repositories