Skip to main content
Participant
June 10, 2021
Question

User Management API - set SYSTEM ADMIN group

  • June 10, 2021
  • 1 reply
  • 301 views

We used the folloing API call expecting it will add "SYSTEM ADMIM(org super admin)" right to the specified user. However, the group have been set for the user was "USER GROUP ADMIN". Is it possible to set "SYSTEM ADMIM" right via API?

 

GET group response:

{
    "lastPage": true,
    "result": "success",
    "groups": [
        {
            "groupId": 110767925,
            "groupName": "Admins",
            "type": "SYSADMIN_GROUP",
            "adminGroupName": "_admin_Admins",
            "memberCount": 8
        },
        {
            "groupId": 110767957,
            "groupName": "InCopy Configuration",
            "type": "PRODUCT_PROFILE",
            "adminGroupName": "_admin_InCopy Configuration",
            "memberCount": 1,
            "productName": "InCopy",
            "licenseQuota": "1"
        }
}]

 

POST user group:

curl --location --request POST 'https://usermanagement.adobe.io/v2/usermanagement/action/XXXXXXXXX@AdobeOrg' \
--header 'Authorization: Bearer tokenXXX' \
--header 'X-api-key: xxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"user" : "xxx@xxx.it",
"requestID": "action_1",
"do" : [{
"add" : {
"group" : ["Admins"]
}
}]
}
]'

 

This topic has been closed for replies.

1 reply

Participant
June 22, 2021

any update?