Sign in

Delete site publicize connection

documented

Delete the specified publicize connection.

POST /sites/{site}/publicize-connections/{publicize_connection_ID}/deleteSharingno 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/rest/v1/sites/{{$site}}/publicize-connections/{{$publicize_connection_ID}}/delete" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"publicize_connection_id": "{{$publicize_connection_ID}}", "confirm": {{$confirm}}}'