Header

Delete a build cache file via API

This method allows you to delete an existing build cache file from a project.

URL

/projects/<permalink>/build_cache_files/<identifier>
  • Replace <permalink> with the permalink of the project.
  • Replace <identifier> with the identifier of the build cache file.

HTTP METHOD

DELETE

Supported Parameters

None

Example cURL request

curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
-X DELETE \
https://atech.deployhq.com/projects/api-created/build_cache_files/5c0c7e7c-3c02-4058-b3a8-f3e798754612

Example response

{
  "status":"deleted"
}
Tree

Proudly powered by Katapult. Running on 100% renewable energy.