AttributeCategory CreateSecurityEntry
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
AttributeCategory CreateSecurityEntry
Create a security entry owned by the attribute category.
Request
POST attributecategories/{webId}/securityentries
URL Parameters
-
webId The ID of the attribute category where the security entry will be created. See WebID 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.
-
webIdType Optional parameter. Used to specify the type of WebID. Useful for URL brevity and other special cases. Default is the value of the configuration item "WebIDType". See WebID Type for more information.
Body Parameter
The new security entry definition. The full list of allow and deny rights must be supplied. See Security Rights for more information.
Status Codes
201: The security entry was created. The response's Location header is a link to the security entry.
Sample Request Body
{
"SecurityIdentityName": "domain\\user1",
"AllowRights": [
"Read",
"ReadData"
],
"DenyRights": [
"Write",
"Execute",
"Admin"
]
}