Delete a build command via API (templates)
This method allows you to delete an existing build command from within a project template.
URL
/templates/<permalink>/build_commands/<identifier>
- Replace
<permalink>
with the permalink of the template. - Replace
<identifier>
with the identifier of the build command
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/build_commands/6908c22d-7d9e-48bf-be34-f4f327d89d61
Example response
{
"status":"deleted"
}