Deleting a File

Deleting files

Deleting files is similar to retrieving them; the only difference is the command type. Use a DELETE request:

https://api.appery.io/rest/1/db/files/<fileName>

Example

cURL:

curl -X DELETE 
 -H "Content-Type: application/octet-stream" \
 -H "X-Appery-Database-Id: 544a5cdfe4b03d005b6233b9" \
 -H "X-Appery-Session-Token: 6fb9515d-82fd-43b3-9124-f0534dceca8e" \
 https://api.appery.io/rest/1/db/files/3f612c86-2beb-4064-bdbe-14a3d2bf0457.cta.kml
There is no response for this operation.