Using LambdaEdge to delete a header not on the blacklisted / read-only / CloudFront lists

Does any know if you can use Lambda@Edge to delete a header not on the blacklisted / read-only / CloudFront lists (https://docs.amazonaws.cn/en_us/AmazonCloudFront/latest/DeveloperGuide/lambda-requirements-limits.html#lambda-header-restrictions) on origin response? My Google-fu is failing me and I can’t find any examples or documentation references on whether this is possible and how to do it.

“Lambda@Edge can read, modify, and delete request headers, including cookies” ~ https://aws.amazon.com/blogs/networking-and-content-delivery/authorizationedge-how-to-use-lambdaedge-and-json-web-tokens-to-enhance-web-application-security/|https://aws.amazon.com/blogs/networking-and-content-delivery/authorizationedge-how-t[…]edge-and-json-web-tokens-to-enhance-web-application-security/

I haven’t tried it, but it sounds like it’s possible

Have tried it, totally doable

Are there any public code examples?

Would the code look like this:
headers['x-my-header'] = [{key: 'X-My-Header', value: null}];

Or like this:
headers['x-my-header'] = null;

Ah, it seems to be more like the latter: https://github.com/aws-samples/authorization-lambda-at-edge/blob/master/node/lambda-edge-function/index.js#L100-L101

Thank you, , for providing that link.