Is possible to monitor/unmonitor a specific season?

Hi, I am creating a script in bash, but I can’t figure out if I can set a monitor/unmonitor season, not the individual episodes but the season itself.
If I try with this:

curl -X PUT "${sonarr_host}:${sonarr_port}/api/v3/series/${show_id}" \
     -H "accept: text/plain" \
     -H "Content-Type: application/json" \
     -H "X-Api-Key: ${sonarr_api}" \
     --data-raw '{
        "qualityProfileId": '"$qualityProfileId"',
        "path": "'"$path"'",
        "seasons": [
            {
                "seasonNumber": '"$season_number"',
                "monitored": false
            }
        ]
     }'

I get error because path and profileid is missing, if I then add it and run:

curl -X PUT "${sonarr_host}:${sonarr_port}/api/v3/series/${show_id}" \
     -H "accept: text/plain" \
     -H "Content-Type: application/json" \
     -H "X-Api-Key: ${sonarr_api}" \
     --data-raw '{
        "qualityProfileId": '"$qualityProfileId"',
        "path": "'"$path"'",
        "seasons": [
            {
                "seasonNumber": '"$season_number"',
                "monitored": false
            }
        ]
     }'

it happens that in the tv show I get only the edited season, for example season 5, monitored or unmonitored, and all other seasons disappear

Is there any way, to put only one season under monitor/unmonitor?

You need to return the array of seasons, modifying the one you want to change.

Thank you Markus

As soon as I have a moment I will make some modifications and tests.