IPWorks Cloud 2020 macOS Edition

Questions / Feedback?

DeleteResource Method

Trashes or permanently deletes a resource.

Syntax

public func deleteResource(resourceId: String) throws -> 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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 macOS Edition - Version 20.0 [Build 8265]