Update resource
drupal_update_resourceUpdate an existing resource by UUID (partial update of attributes and/or relationships). JSON:API: PATCH /jsonapi/{entity_type}/{bundle}/{uuid}. Body is { data: { type, id: uuid, attributes?, relationships? } }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | The entity UUID (JSON:API uses the UUID, never the numeric id). | |
| bundle | Yes | The bundle machine name, e.g. "article", "tags", "user". | |
| attributes | No | Field values to change. | |
| entity_type | Yes | The entity type machine name, e.g. "node", "taxonomy_term", "user". | |
| relationships | No | Relationships to change. |