Prevent cookie from being stored


Is there a way to prevent a cookie from being stored in an event.

We are using the Java SDK and when an error occurs during an API call (over HTTP) to our server. The cookies that were send with that call are also stored in Sentry. We would like to prevent some of the cookies of being stored in Sentry because it contains PPI.

Thanks and best regards