Sign in

Update WordAds TOS

documented

Update WordAds TOS setting for a site.

POST /sites/{site}/wordads/tosSitesno 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.1/sites/{{$site}}/wordads/tos" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"tos": "{{$tos}}"}'