Due to lack of documentation I had to try several things. The Get application API lists owners as:
"owner": {
"id": "7_digit_number",
"name": "Angelo Mekenkamp",
"ownerExternalId": "32_digit_number"
},
So I tried to update the owner by passing the same information in the body, but by updating the ownerExternalId and by ignoring/removing/nullify the id attribute, which all failed. Also putting the 32 bit number in place of the id failed.
At the end the solution is to drag ownerExternalId outside of the owner object and thus have a body that looks like this:
{
"description": "new description",
"ownerExternalId": "32_digit_id_of_new_owner"
}
And it looks like the /api/app/create API does not allow to set the owner and it is set automatically and chooses the identity belonging to the PAT that was used for the API call. I hope that the replacement API will allow setting all attributes during creation, so that it is consistent to other beta/v3 APIs.
But from my end I now don’t see a dependency on the short id of the user for applications. Thank you for your response!
Kind regards, Angelo