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

403 repsonse when updating user update rules via API

jralexander137
Regular Contributor
Regular Contributor

Hi, trying to levarge the API endpoint that modifies user update rules so i can set a chunk of them to inactive.

Hitting this endpoint:https://env-dev.saviyntcloud.com//ECM/api/v5/rules/userUpdate

Tried sending a couple bodies:

{
    "ruleName": "RuleName",
    "invokeByDetective": "false",
    "status": "INACTIVE",
    "conditions": [
        {}
    ],
    "actions": [
        {}
    ],
    "owners": []
}
 
And
 
{
    "ruleName": "ruleName",
    "invokeByDetective": "false",
    "status": "INACTIVE",
    "conditions": [
        {
            "conditionType": "Basic",
            "closeBracket": "",
            "attribute": "city",
            "openBracket": "",
            "condition": "is updated",
            "object": "Users",
            "objectValue": "",
            "nextCondition": ""
        }
    ],
    "actions": [
        {
            "organization": "",
            "action": "Deprovision Role",
            "operation": "ENTERPRISE",
            "executeOn": "",
            "objectType": "ROLE",
            "object": "yash_role10th"
        }
    ],
    "owners": []
}
 
Both give a 403 response.
2 REPLIES 2

jralexander137
Regular Contributor
Regular Contributor

Post can be deleted, issue was with extra slash in URL

Current URL https://env-dev.saviyntcloud.com//ECM/api/v5/rules/userUpdate

Expected URL - https://env-dev.saviyntcloud.com/ECM/api/v5/rules/userUpdate


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.