POST
/
whitelist
curl --request POST \
  --url https://example.com/api/whitelist/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "SECRET",
  "name": "<string>",
  "active": true,
  "global_": false,
  "repos": [
    123
  ],
  "vcs": [
    123
  ],
  "comment": "<string>"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
enum<string>
required
Available options:
SECRET,
VULNERABILITY
name
string
required
vcs
integer[]
required
active
boolean
default:true
global_
boolean
default:false
repos
integer[] | null
comment
string

Response

200
application/json
Successful Response

The response is of type any.