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

Response

200
application/json

Successful Response

The response is of type any.