Delete a command via API
This method allows you to delete a command.
URL
/projects/<project>/commands/<identifier>
- Replace
<project>
with thepermalink
of the project. - Replace
<identifier>
with theidentifier
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"
}