AssetServer CreateSecurityMapping
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
AssetServer CreateSecurityMapping
Create a security mapping.
Request
POST assetservers/{webId}/securitymappings
URL Parameters
-
webId The ID of the asset server on which to create the security mapping. See WebID for more information.
-
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 mapping definition.
Status Codes
201: The security mapping was created. The response's Location header is a link to the security mapping.
Sample Request Body
{
"Name": "MySecurityMapping",
"Description": "",
"Account": "domain\\user",
"SecurityIdentityWebId": "I1SIEDqD5loBNH0erqeqJodtALAYIKyyz2F5BGAxQAVXYRDBAGyPedZG1sUmxOOclp3Flwg"
}