How set Space Task Processing Status with API or CLI

Hi,
How can i set Space Task Processing Status via API or CLI?
I don’t found any reference.

Tnx.

Hi @gennaro.riccio,

Thanks for reaching out.

The API call to disable task processing should be a POST call to http://serverurl/api/spaces/Spaces-#### with the JSON body altered to change TaskQueueStopped to true.

You will likely need to do a GET on it, then edit it, then POST it back in place.

If you ever want to know how to do something via the API, the best way to do that is to hit F12 within your browser and go to the Network tab. Once there, perform the action you’d like to do via API manually in the portal and inspect the API calls along with their JSON bodies and headers.

Please let me know if that helps or if you need more assistance.

Thanks,
Jeremy

Hi Jeremy,
Thanks for your suggestions they were very helpful.

Gennaro.

1 Like

Hi @gennaro.riccio,

You’re very welcome! Thanks for letting me know you’re in a good state.

Please let us know if you run into any issues in the future and I hope you have a great rest of your week.

Best,
Jeremy

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.