Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Updating Account Owner though API isn't happening

KarthikChettiar
New Contributor
New Contributor

Trying to update Account owner using the below API 

{{url}}/ECM/{{path}}/updateAccount

This is updation all other fields except adding the owner

2 REPLIES 2

Manu269
All-Star
All-Star

Mandatory params:
securitysystem,
endpoint,
name - account name

Optional params:
customproperty<1 to 30>,
status,
description

accountowner

  • type: Specify user or usergroup as the owner type. This is a mandatory parameter.
  • value: Specify usergroup name or username. This is a mandatory parameter.
  • rank: Specify the rank of the owner. You can specify values from 1 to 5, 26, or 27. Specify 26 for a primary certifier and 27 for any secondary certifier. This is an optional parameter, and the default value is 1.
  • action: Specify add or remove. This is a mandatory parameter.

 

I just tested and it worked.

Share payload please.

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

Amit_Malik
Valued Contributor II
Valued Contributor II

Amit_Malik_0-1727097743787.png

URL : ECM/api/v5/updateAccount

Working JSON

{
    "securitysystem": "SS",
    "endpoint": "Endpoint",
    "name": "AccountName",
    "customproperty1":"cpOne",
  "description":"desc",
  "status":"1",
    "accountowner": [
        {
            "type": "user",
            "value": "amit.malik@abc.com",
            "rank": "26",
            "action":"add"
        },
         {
            "type": "user",
            "value": "RR@abc.com",
            "rank": "27",
            "action":"add"
        }
    ]
}

 

Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".