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