Header

Delete a config file

This method allows you to delete an existing config file from within a project template.

URL

/templates/<permalink>/config_files/<identifier>
  • Replace <permalink> with the permalink of the template.
  • Replace <identifier> with the identifier of the config 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/config_files/d89fd915-545b-473e-b986-5c4a0156ec72

Example response

{
  "status":"deleted"
}

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