DeleteResource Method
Trashes or permanently deletes a resource.
Syntax
async box.deleteResource(resourceId : string): Promise<void>
Remarks
This method trashes the resource specified by ResourceId. If the resource is already in the trash, it is permanently deleted instead.
To list trashed resources, call ListResources and pass trash for the FolderId method parameter.