Deleting API Keys

How do I delete an API key? I'm getting this error message in flightlog.

WARNING Error connecting to Alpaca, will try again shortly: 403 Client Error: Forbidden for url: https://paper-api.alpaca.markets/v2/orders?limit=500&direction=asc&status=open

I think the error is because of an alpaca key I've invalidated. I have 2 paper keys and want to delete one but cannot see any api calls or user docs explaininng how to do so.

Currently there's not an API to do that, so you have to delete the stored configuration file. You can delete it like this:

docker compose exec license-service rm /etc/opt/quantrocket/alpaca.json

And then add back the Alpaca keys you want to use.

Brilliant! Thanks.