To control charging for the vehicle, you need to enable "Remote Control Access". To activate this in the MyMazda app follow these steps:
If you are not able to enable Remote Control Access make sure you are logged in as the primary driver then follow the steps above again. You can see who the primary driver is from the Drivers tab.