Header

Delete a command

This method allows you to delete a command.

URL

/projects/<project>/commands/<identifier>
  • Replace <project> with the permalink of the project.
  • Replace <identifier> with the identifier of the 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://test.deployhq.com/projects/project/commands/command-identifier

Example Response

{
    "status": "deleted"
}