Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Web API Reference

ElementTemplate UpdateSecurityEntry

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"
  ]
}
In This Topic
TitleResults for “How to create a CRG?”Also Available in