Possible to return a http status code other than 200 from a Defender Action?

Title pretty much sums it up. I'm looking to return a 401 when the provided API key is incorrect but I don't see a way to return a different code other than 200.

Anyone have an idea?