databases_update_document
Modify specific fields in a database document by providing its ID, collection, and database identifiers. Use partial JSON updates to change only required data without affecting other document attributes.
Instructions
Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Database ID. | |
| collection_id | Yes | Collection ID. | |
| document_id | Yes | Document ID. | |
| data | No | Document data as JSON object. Include only attribute and value pairs to be updated. | |
| permissions | No | An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions). |