Update the login actions configured for the specified audit
List of audit login actions to update
Type of the user action
Duration to wait in milliseconds. Present for actionTypes: navTo, click, input, select, check, uncheck, execute, watch, maskedInput, enterIFrame, exitIFrame, clearCookies, privacyOptIn, privacyOptOut
List of selectors for element-based actions. Present for actionTypes: click, input, select, check, uncheck, maskedInput, enterIFrame
Value field with different meanings per actionType. For input/select: input value. For navTo: URL. For privacyOptIn/privacyOptOut: URL. For execute: JavaScript code. Present for actionTypes: input, select, navTo, privacyOptIn, privacyOptOut, execute
URL for navigation and privacy actions. Present for actionTypes: navTo, privacyOptIn, privacyOptOut
Whether privacy action is required. Present for actionTypes: privacyOptIn, privacyOptOut
curl -i -X PUT \
https://api.observepoint.com/v3/web-audits/107239/login-actions \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '[
{
"sequence": 0,
"description": "string",
"actionType": "click",
"waitDuration": 0,
"selectors": [
{
"selectorType": "id",
"value": null
}
],
"preventNavigation": true,
"value": "string",
"maskedValue": "string",
"js": "string",
"url": "string",
"seconds": 0,
"isRequired": true,
"actionSetId": 0
}
]'Successfully updated audit login actions
Type of the user action
Duration to wait in milliseconds. Present for actionTypes: navTo, click, input, select, check, uncheck, execute, watch, maskedInput, enterIFrame, exitIFrame, clearCookies, privacyOptIn, privacyOptOut
List of selectors for element-based actions. Present for actionTypes: click, input, select, check, uncheck, maskedInput, enterIFrame
Value field with different meanings per actionType. For input/select: input value. For navTo: URL. For privacyOptIn/privacyOptOut: URL. For execute: JavaScript code. Present for actionTypes: input, select, navTo, privacyOptIn, privacyOptOut, execute
URL for navigation and privacy actions. Present for actionTypes: navTo, privacyOptIn, privacyOptOut
Whether privacy action is required. Present for actionTypes: privacyOptIn, privacyOptOut
[ { "sequence": 0, "id": 0, "description": "string", "actionType": "click", "waitDuration": 0, "selectors": [ … ], "preventNavigation": true, "value": "string", "maskedValue": "string", "js": "string", "url": "string", "seconds": 0, "isRequired": true, "actionSetId": 0 } ]