Sign in

Update post

documented

Edit a post.

POST /sites/{site}/posts/{post_ID}Postsno 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}}/posts/{{$post_ID}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"title":"{{$title}}","content":"{{$content}}","excerpt":"{{$excerpt}}","slug":"{{$slug}}","date":"{{$date}}","author":"{{$author}}","status":"{{$status}}","publicize":{{$publicize}},"publicize_message":"{{$publicize_message}}","categories":{{$categories}},"tags":{{$tags}},"password":"{{$password}}","format":"{{$format}}","sticky":{{$sticky}},"parent":{{$parent}}}'
Update post · WordPress.com · OpenIntegrations