Delete Redis database key from using API

I am not a Redis person but I have been tasked to perform something through automation and I just do not know enough about how to do this. Can I remove a Key using the a RestAPI to Redis? Or is there another way I should do it? Example?
Redis

No, there’s no Redis API for this. You need to connect using the redis-cli client and then run the DEL command against the key. Here are some docs on getting started:
https://redis.io/topics/quickstart

Thanks! I appreciate it. I will see if I can use the cli.