Sign in

Edit category

documented

Edit a category.

POST /sites/{site}/categories/slug:{category}Taxonomyno 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}}/categories/slug:{{$category}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data-urlencode "name={{$name}}" \
  --data-urlencode "description={{$description}}" \
  --data-urlencode "parent={{$parent}}"