DocuSign icon

DocuSign

Interact with the DocuSign eSignature REST API v2.1 — complete enterprise coverage

Actions341

Workspace Item → Delete Folder Items

AI-generated

Summary

Delete specified items from a folder within a DocuSign workspace by providing workspace, folder, and account identifiers along with an array of items to remove.

Inputs

  • Authentication — Specify the authentication method to use: OAuth2 or JWT (Service Integration).
  • Category — Select the DocuSign API category context, defaulting to 'Envelopes'.
  • Account ID (required) — The unique DocuSign Account ID (GUID) to target for the operation.
  • Workspace ID (required) — The identifier for the workspace containing the folder.
  • Folder ID (required) — The identifier of the folder from which items will be deleted.
  • Items (JSON) (required) — A JSON array specifying items to delete, each item object containing 'itemId' and 'itemType' fields, e.g., [{"itemId": "id1", "itemType": "file"}, ...].

Output shape

a JSON object representing the API response to the delete operation, indicating success or detailed errors

The output depends on the DocuSign API response; typically it confirms deletion or provides error information if the deletion failed.

Examples

Example 1: Delete multiple files from a specified folder in a workspace

Set Authentication to OAuth2, choose the 'folders' category, and provide 'Account ID', 'Workspace ID', and 'Folder ID'. Provide the 'Items (JSON)' array listing the files to delete by their IDs and types.

Links

Discussion