DELETE 1.0/{InstanceId}/Folders/{FolderId}
Deletes a folder for a given folder id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
InstanceId |
The instance ID relating to a specific ADM database |
string |
Required |
FolderId |
The folder id for which to delete the folder from the structure |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns "OK" if the folder was deleted successfully, otherwise an appropriate error message
Collection of FolderName | Description | Type | Additional information |
---|---|---|---|
Id |
The ID of the folder |
integer |
None. |
Url |
A URL referencing this folder object |
string |
None. |
Name |
Name of the folder |
string |
None. |
Level |
The hirearchical level of this folder, starting at 0 for roots (such as FilingRoot and UserInbox) |
integer |
None. |
ParentId |
The ID of the parent folder |
integer |
None. |
NodeType |
Describes the node type (type of folder) |
string |
None. |
ContextPermissions |
Contains the permissions relevant to this folder (for example ChangePermissions, Delete, Email, VersionControl, View) |
Collection of PermissionValuePair |
None. |
PermissionEntries |
A URL which can be used to retrieve the permission entries for this folder |
string |
None. |
DocumentCount |
The number of documents contained in this folder (not recursive) |
integer |
None. |
Response Formats
application/json, text/json
[ { "Id": 1, "Url": "sample string 2", "Name": "sample string 3", "Level": 4, "ParentId": 5, "NodeType": "sample string 6", "ContextPermissions": [ { "Type": "Add", "Value": "Deny" }, { "Type": "Add", "Value": "Deny" } ], "PermissionEntries": "sample string 7", "DocumentCount": 1 }, { "Id": 1, "Url": "sample string 2", "Name": "sample string 3", "Level": 4, "ParentId": 5, "NodeType": "sample string 6", "ContextPermissions": [ { "Type": "Add", "Value": "Deny" }, { "Type": "Add", "Value": "Deny" } ], "PermissionEntries": "sample string 7", "DocumentCount": 1 } ]