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

Answer (1)

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