cURL
curl --request PUT \ --url https://app.kosli.com/api/v2/allowlists/{org}/{env_name} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "artifact_name": "<string>", "artifact_fingerprint": "<string>", "description": "<string>" } '
{ "artifact_name": "<string>", "artifact_fingerprint": "<string>", "description": "<string>" }
Allow an artifact for an environment.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Input model for an allowlist record
The name of the artifact that is allowed
The sha256 fingerprint of the artifact that is allowed
^[a-f0-9]{64}$
The reason for allow listing this artifact
Successful Response
Was this page helpful?