• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

User Management API - set SYSTEM ADMIN group

New Here ,
Jun 09, 2021 Jun 09, 2021

Copy link to clipboard

Copied

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"]
}
}]
}
]'

 

TOPICS
Admin console , Manage account , Users and groups

Views

222

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 21, 2021 Jun 21, 2021

Copy link to clipboard

Copied

LATEST

any update?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines