AssetServer UpdateSecurityEntry
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
AssetServer UpdateSecurityEntry
Update a security entry owned by the asset server.
Request
PUT assetservers/{webId}/securityentries/{name}
URL Parameters
-
webId The ID of the asset server where the security entry will be updated. See WebID for more information.
-
name The name of the security entry.
-
securityItem The security item of the desired security entries to be updated. If the parameter is not specified, security entries of the 'Default' security item will be updated. See Security Item for more information.
-
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"
]
}