Delete code deployment
documentedDelete a deployment configuration for a site.
DELETE /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}GitHub Deploymentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://public-api.wordpress.com/wpcom/v2/sites/{{$wpcom_site}}/hosting/code-deployments/{{$deployment_id}}" -X DELETE -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" -H "Accept: application/json"