Ability to Set App Admin Option via API

Is it possible to set the App Admin option on a user's record for a specific organization-defined application via the API?

Based on the response from a Get Person call, it appears the attribute name is "IsAdministrator". However, if I try sending a PATCH call to update OrgApplications, like the example below, I get a successful response (200 OK), but the value doesn't update. I have also tried using the "replace" operation, but received the same results.

[
    {
      "op": "add",
      "path": "/OrgApplications",
      "value": [
        {
            "ID": 32,
            "SecurityRoleID": "31b46a0c-e9a0-46bb-ad88-85392b8c65fe",
            "IsAdministrator": true
        },
        {
            "ID": 33,
            "SecurityRoleID": "83872170-6b63-41cc-ab00-5140ac73bbf1",
            "IsAdministrator": true
        },
        {
            "ID": 34,
            "SecurityRoleID": "3d5e9f99-86ba-4dd2-b1ca-d6387637b19c",
            "IsAdministrator": true
        }
      ]
    }
]
Asked by Corrine Knox on Sat 2/24/24 11:21 PM
Sign In to leave feedback or contribute an answer

Answers (2)

This answer has been marked as the accepted answer
Mark Sayers Mon 2/26/24 9:26 AM

Hello Corrine,

I double checked on this for you and confirmed my understanding that the API does not allow you to change app admin status at this time. You'll have to accomplish this via the UI interface for the time being.

Sincerely,
Mark Sayers
Sr Support Consultant, CS

No feedback

Brian Harmon Sat 9/7/24 1:15 PM

So is there any other post/put method to change the App Administrator via API?

I just asked for this patch method as an enchantment request. 

No feedback
Unfortunately there has been no change since this past February that would have added an API endpoint to achieve adding/modifying app administrators. - Mark Sayers Mon 9/9/24 9:20 AM