How to resume a manual step in pipeline with gitlab api?

I have a pipeline as below.

First two are automatic and the last two jobs are manual.

When I ran the curl command to run the pipeline, as below.

curl -X POST \
     --fail \
     -F token=TOKEN \
     -F "ref=REF_NAME" \
     -F "variables[RUN_NIGHTLY_BUILD]=true" \
     https://gitlab.com/api/v4/projects/<id>/trigger/pipeline

It will run the first two.

But, the last two are for cleanup, so kept as manual.
Could anyone please share how to trigger this manual jobs using gitlab api/curl commands?