ElementTemplate UpdateSecurityEntry
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
ElementTemplate UpdateSecurityEntry
Update a security entry owned by the element template.
Request
PUT elementtemplates/{webId}/securityentries/{name}
URL Parameters
-
webId The ID of the element template where the security entry will be updated.
-
name The name of the security entry.
-
applyToChildren If false, the new access permissions are only applied to the associated object. If true, the access permissions of children with any parent-child reference types will change when the permissions on the primary parent change.
Body Parameter
The new security entry definition. The full list of allow and deny rights must be supplied or they will be removed. See Security Rights for more information.
Status Codes
204: The security entry was updated.
Sample Request Body
{
"AllowRights": [
"Read",
"ReadData"
],
"DenyRights": [
"Write",
"Execute",
"Admin"
]
}