Sign in

Update node (JSON:API)

documented

Update an existing node by UUID.

PATCH /jsonapi/node/{bundle}/{uuid}Nodesno 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://{{$drupal_site_domain}}/jsonapi/node/{{$bundle}}/{{$uuid}}" \
  -X PATCH \
  -H "Accept: application/vnd.api+json" \
  -H "Content-Type: application/vnd.api+json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"data": {"type": "node--{{$bundle}}", "id": "{{$uuid}}", "attributes": {"title": "{{$title}}"}}}'