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, "name": "<string>", "created_by": 123, "updated_by": 123, "secrets_updated": 123, "vulnerabilities_updated": 123, "created_on": "2023-11-07T05:31:56Z", "comments": [ 123 ], "type": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
SECRET
VULNERABILITY
Successful Response