Whenever a library file is deleted using either the MyLibrary Individual Files API or the GUI, it is moved to the system's Trash folder. Use this endpoint to view (GET) or to permanently DELETE the files in the Trash folder.
Click a method to view its documentation
Privileges required: mylibrary:file:delete
Permanently deletes all files in the Trash folder - you cannot specify individual files to permanently delete from the Trash folder.
Privileges required: mylibrary:folder:delete
Delete a MyLibrary folder specified by the folderId
path parameter.
Privileges required: mylibrary:file:delete
Delete one or more MyLibrary files specified by the fileId
path parameter, separate multiple file IDs with a comma. Deleted files are moved from their current folder into the system Trash folder, and its status
is set to Deleted. To permanently delete a file, you must empty the Trash folder.
DELETE: https://api.constantcontact.com/v2/library/folders/trash/files |
|||
name |
type |
default |
description |
---|---|---|---|
api_key |
query |
REQUIRED; The API key for the application |
code |
description |
---|---|
204 |
Request was successful. No content will be returned |
401 |
Authentication failure |
500 |
Internal server error occurred |