Unable to Set Job Output Directory Through REST API

Hi all,

I have been trying to use the REST API to adjust the Output Directory (‘OutDir’) of a completed job. I found out you can edit a job by sending a PUT request with the following body:

{'Command': 'save',
'Job': <job>}

where job is the original JSON job which I get through a GET request, but with edited values.

When viewing the JSON of a job I can see that the key for the output directory is ‘OutDir’, and it expects an array. However, when sending back a PUT request with the edited field, I get a 200 ok message but nothing changes.
For reference, I tried this with other fields under the ‘Props’ key, and I can get those to change successfully.

I have also tried to use the standalone Python API (Deadline Standalone Python Reference: Welcome) with GetJob() and SaveJob() as described in the docs, but this didn’t work either.

Is this behavior intended or am I doing something wrong here?
Would love to hear if there are any alternative ways of doing this!

Cheers!