Sign in

Delete staging site

documented

Delete the staging site.

DELETE /wpcom/v2/sites/{wpcom_site}/staging-site/{staging_site_id}Agenciesno implementation yet0 runs
No 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}}/staging-site/{{$staging_site_id}}" \
  -X DELETE \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"
Delete staging site · WordPress.com · OpenIntegrations