Our v3 API is now available! Learn more by visiting the v3 developer portal. Creating new v2 API keys is no longer supported.

MyLibrary Trash Folder

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.

Methods:

Click a method to view its documentation

GET DELETE

DescriptionTOP

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.

DescriptionTOP

Privileges required: mylibrary:folder:delete

Delete a MyLibrary folder specified by the folderId path parameter.

DescriptionTOP

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

Test API

name

type

default

description

api_key

query

REQUIRED; The API key for the application

Response CodesTOP

code

description

204

Request was successful. No content will be returned

401

Authentication failure

500

Internal server error occurred