cURL
curl --request PUT \ --url https://example.com/api/whitelist/{whitelist_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "type": "SECRET", "name": "<string>", "active": true, "global_": true, "repos": [ 123 ], "vcs": [ 123 ], "comment": "<string>" } '
{ "id": 123, "created_by": 123, "updated_by": 123, "created_on": "2023-11-07T05:31:56Z", "name": "", "secrets_updated": 123, "vulnerabilities_updated": 123, "comments": [], "type": "" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
SECRET
VULNERABILITY
Successful Response