MAC Filtering access

Good evening everyone, I’m trying to see if it’s possible to activate and register mac computers to deny access or allow internet access through MAC Filtering. I wanted to see if it’s possible with genieacs, if possible, can you give me an example from the api of how to do it or failing that if you have to add a new command you can help me.
I await your response, thank you very much