Header

Delete a config file

This method allows you to delete a config file.

URL

/projects/<project>/config_files/<identifier>
  • Replace <project> with the permalink of the project.
  • 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://test.deployhq.com/projects/project/config_files/19c8d0df-0ab9-2f1f-1a4b-5aec4c37c7b7

Example Response

{
    "status": "deleted"
}

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