As far as I know it is legal on a cooker, with a boiler requiring removal of front cover then probably not.
As always, you need to take care of safety first. Locate the main gas supply valve that supplies the oven with gas. This valve is normally situated on the main gas pipeline which goes into the oven’s regulator gas valve. Generally, the valve will have an open/close diagram on it. So turn the valve in a way that it is perpendicular to the main pipe.
After that, you need to search for the oven’s gas regulator. This is a metal unit shaped like a square and is installed at the back of the gas oven. You can easily locate it by following the main gas pipeline that goes into the back.
In this step, you will be locating the main thermocouple. It is situated at the end of a copper tube which is fastened to the oven’s gas regulator by a small nut. This tube runs into the oven’s body. Take an adjustable wrench, loosen the nut, and remove the copper tubing from the gas regulator.
The head of the thermocouple is installed at the end of the copper tube you just removed; this head is generally fitted near the oven’s burner with a regular clip that has been screwed securely or with a gravity clip. You will have to identify the type of clip you have by examining the base. Don’t forget to use a torch to brighten the area.
Once the thermocouple is located, use a screwdriver to unscrew the screws which hold the thermocouple in place. Pull out the clip carefully so as not to break it, and detach the thermocouple. If there are no screws present, you can directly, but carefully pull the head of the thermocouple out.
Assuming you have already bought the new thermocouple, replace the faulty thermocouple with the new one, clean any dirt or grime in the surrounding area, and tighten the screws. In some cases, the new thermocouple won’t come with a clip. Hence, you can reuse the old clip for the new one. Reattach the copper tube to the regulator unit by tightening the nu