Header

Delete an SSH command via API (templates)

This method allows you to delete an existing SSH command from a project.

URL

/templates/<permalink>/commands/<identifier>
  • Replace <permalink> with the permalink of the template.
  • Replace <identifier> with the identifier of the SSH 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/commands/5ed08994-2b93-4901-bba5-d55f1dd1c51b

Example response

{
  "status":"deleted"
}
Tree

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