Header

Delete a command via API

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/82204198-e157-86bc-0911-0fcd5f25f4ec

Example Response

{
    "status": "deleted"
}
Tree

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