PUT 1.0/{InstanceId}/Folders/{FolderId}/PermissionEntries
Updates permission entries for a specific folder
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| InstanceId |
The instance ID relating to a specific ADM database |
string |
Required |
| FolderId |
The parent folder for which to update the permissions |
integer |
Required |
Body Parameters
The request object which contains the permission entry details
CreateUpdatePermissionEntriesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PermissionEntries |
Contains the permissions that will be applied to the folder once created |
Collection of PermissionEntry |
Required |
Request Formats
application/json, text/json
Sample:
{
"PermissionEntries": [
{
"Id": 1,
"UserType": "User",
"UserObjectId": 2,
"PermissionValues": [
{
"Type": "Add",
"Value": "Deny"
},
{
"Type": "Add",
"Value": "Deny"
}
]
},
{
"Id": 1,
"UserType": "User",
"UserObjectId": 2,
"PermissionValues": [
{
"Type": "Add",
"Value": "Deny"
},
{
"Type": "Add",
"Value": "Deny"
}
]
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Appropriate HTTP headers with no content are returned only