Skip to main content
Version: v3

Bulk Delete / Trash Files/Folders

PUT 

/medias/delete-files

Soft-deletes or trashes multiple files and folders in a single request

Request

Version stringrequired

API Version

Available optionsv3
application/json

Bodyrequired

    filesToBeDeletedobject[]required

    Array of file objects to be deleted or trashed

    altTypestringrequired

    Type of entity that owns the files

    Available optionslocation
    altIdstringrequired

    Location identifier

    statusstringrequired

    Status to set for the files (deleted or trashed)

    Available optionsdeletedtrashed
application/json

Successful response

Schema