databases_update_ip_attribute
Modify IP address attributes in Appwrite database collections to update requirements, default values, or field names for network data storage.
Instructions
Update an ip attribute. Changing the default value will not update already existing documents.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Database ID. | |
| collection_id | Yes | Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). | |
| key | Yes | Attribute Key. | |
| required | Yes | Is attribute required? | |
| default | Yes | Default value for attribute when not provided. Cannot be set when attribute is required. | |
| new_key | No | New attribute key. |