update_field
Modify an existing field in a Directus collection by updating its type, options, validation, or other properties.
Instructions
Update an existing field in a collection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Field note | |
| type | No | Field type | |
| field | Yes | Field name | |
| unique | No | Is field unique | |
| options | No | Interface options | |
| required | No | Is field required | |
| interface | No | Field interface | |
| collection | Yes | Collection name | |
| validation | No | Validation rules | |
| default_value | No | Default value |