Allowlist
Create Allowlist
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
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
.
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>"
Assistant
Responses are generated using AI and may contain mistakes.