trashResource (method)
Moves the specified file or folder to the trash.
Syntax
- (void)trashResource:(NSString*)resourceId;
public func trashResource(_ resourceId: String) throws -> Void
Remarks
This method moves the file or folder specified by ResourceId to the trash. The resource may be restored from the trash by calling RestoreResource.
To permanently delete a resource, call DeleteResource. To empty the trash (thus permanently deleting all trashed items), call EmptyTrash.