Delete File or Folder
Deletes specific file or folder from the media storage
DELETE
Delete File or Folder
Last modified on March 8, 2026
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Deletes specific file or folder from the media storage
curl --request DELETE \
--url https://services.leadconnectorhq.com/medias/{id} \
--header 'Authorization: <authorization>'const options = {method: 'DELETE', headers: {Authorization: '<authorization>'}};
fetch('https://services.leadconnectorhq.com/medias/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/medias/{id}"
headers = {"Authorization": "<authorization>"}
response = requests.delete(url, headers=headers)
print(response.text)Was this page helpful?
curl --request DELETE \
--url https://services.leadconnectorhq.com/medias/{id} \
--header 'Authorization: <authorization>'const options = {method: 'DELETE', headers: {Authorization: '<authorization>'}};
fetch('https://services.leadconnectorhq.com/medias/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/medias/{id}"
headers = {"Authorization": "<authorization>"}
response = requests.delete(url, headers=headers)
print(response.text)