PUT 1.0/{InstanceId}/Folders/{FolderId}/PermissionEntries

Updates permission entries for a specific folder

Request Information

URI Parameters

API Parameter Details
NameDescriptionTypeAdditional 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
API Parameter Details
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CreateUpdatePermissionEntriesRequest'.

Response Information

Resource Description

Appropriate HTTP headers with no content are returned only