Disabling GPS Traffic from QGC via MAVLink

Hi everyone,
I’m currently analyzing the possibility of turning off GPS traffic from QGroundControl (QGC). From a user’s perspective, this functionality seems as simple as toggling a switch button. However, I’ve hit a roadblock and could use some advice.
A parallel team, more familiar with ArduPilot development, mentioned that “a MAVLink message can be sent to set GPS status to 1 (no fix).” Naturally, I assumed this might involve the fix_type field mentioned in some MAVLink messages. After some experimentation with the GPS_RAW_INT message, I realized this might not be the correct way to manipulate the GPS state.
What I overlooked initially is that there’s a MAVLink GPS stream periodically sending the device’s state. Despite this, I still believe a specific MAVLink command or message could make this possible without overcomplicating things. My ideal approach would be similar to how the gps start/stop commands function.
I’m unsure about the complexity of implementing this but would appreciate any insights, suggestions, or ideas… Apologies for any gaps in understanding, I’m new to this area.
Thanks in advance!