Change a Requests account/site association via API

Change a Requests account/site association via API

Hi,
Our request inbox is set up with some aliases that aren't associated with any accounts. I want to create a business rule to assign these requests to our MSP account and default site.
I can't choose Account or Site in the "Field Update" option, so I figured I had to write a custom function. See attachment.
However, when I run the script I get this response:

{
    "response_status": {
        "status_code": 4000,
        "messages": [
            {
                "status_code": 20005,
                "type": "failed",
                "message": "Account change is restricted."
            }
        ],
        "status": "failed"
    }
}

Is there any way to solve this issue?

/Robin

                  New to ADSelfService Plus?