POST api/modeler/users/addupdateuser?entityId={entityId}&isFolder={isFolder}
Adds a user or updates their permissions on the security list for the folder/model
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entityId | globally unique identifier |
Required |
|
isFolder | boolean |
Required |
Body Parameters
UserName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
Permission | PermissionLevel |
None. |
|
Inherited | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "b8e0e53c-ef9a-4a9c-bfcd-0fe9b6caa7b1", "Permission": 0, "Inherited": true }
Response Information
Resource Description
Collection of UserName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
Permission | PermissionLevel |
None. |
|
Inherited | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "UserId": "7f6fd9c3-d47e-43b2-8402-785f2ecc7cd5", "Permission": 0, "Inherited": true }, { "UserId": "7f6fd9c3-d47e-43b2-8402-785f2ecc7cd5", "Permission": 0, "Inherited": true } ]