Update Test Endpoint doesn't update application id

When I hit the endpoint
PUT/v2/projects/{projectId}/tests/{testId} with a parameter
updateTest:
{
“name”: “{new name}”,
“appId”: “{new id}”
}
I get 200 with an updated name but the old appId.
It looks like that update appId is working only through the UI and not through the API.
Is this a bug or a desired behaviour?