update_article
Modify an existing Article by sending only the fields to change, optionally adding, updating, or deleting inline rows in one all-or-nothing call.
Instructions
Update an existing Article with optional inline updates. Only the fields sent are changed.
Date and datetime fields take a single ISO 8601 string (e.g. '2026-03-01' or '2026-03-01T09:30:00Z'). Foreign keys take the related object's ID, many-to-many fields a list of IDs. A field the admin form does not accept (unknown, read-only or non-editable) is rejected with an error, never ignored.
Fields:
id (BigAutoField)
title (CharField) [required]
content (TextField) [required]
author (ForeignKey) [required]
published_date (DateTimeField)
is_published (BooleanField)
created_at (DateTimeField)
updated_at (DateTimeField)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the Article | |
| data | No | The fields to update | |
| inlines | No | Inline rows saved with the object, keyed by inline model name: {model_name: [{data} to add, {id, data} to update, {id, _delete: true} to delete]}. All-or-nothing: any inline error rejects the whole call and nothing is saved |