Use this endpoint to retrieve (GET) and update (PUT) information for a specific Library file, and to DELETE one or more files. To create (POST) a file, use the Library File Collection POST method.
Click a method to view its documentation
Privileges required: contacts:lists:write
Delete the contact list specified by the listId
path parameter.
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.
Privileges required: campaign:write
Delete an event item by using the eventId
and itemId
path parameters to specify the event and item.
Privileges required: campaign:write
Delete an existing promocode specified using the promocodeId
path parameter.
Privileges required: campaign:write
Delete an existing fee (specified by feeId
) for an event (specified by eventId
). An event is required to have a minimum of 1 fee. You cannot delete a fee if it is the only fee for the event specified.
Privileges required: campaign:write
Delete an existing event item attribute. Use the eventId
, itemId
, and attributeId
path parameters to specify the attribute to delete.
Privileges required: campaign:stop
Delete the email campaign schedule specified by the campaignId
and scheduleId
path parameters.
Privileges required: campaign:delete
Deletes the email campaign specified by the campaignId
path parameter.
NOTE: You cannot delete a campaign with a status=SCHEDULED.
DELETE: https://api.constantcontact.com/v2/library/files/{fileId} |
|||
name |
type |
default |
description |
---|---|---|---|
api_key |
query |
REQUIRED; The API key for the application |
|
fileId |
path |
Specifies the MyLibrary file to delete |
code |
description |
---|---|
204 |
Request was successful. No content will be returned |
401 |
Authentication failure |
404 |
File with provided ID not found. |
500 |
Internal server error occurred |