Delete an excluded file via API (templates)
This method allows you to delete an existing excluded file rule from within a project template.
URL
/templates/<permalink>/excluded_files/<identifier>
- Replace
<permalink>
with the permalink of the template. - Replace
<identifier>
with the identifier of the excluded 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/templates/api-created/excluded_files/ade7a338-c326-4a0c-9010-262541894656
Example response
{
"status":"deleted"
}