Change the allowed values of an enum field
One step with Appwrite. We can help you get access.
Get something done
Change the allowed values of an enum field
with Appwrite
Works with AI assistants
Use Appwrite: its Appwrite Databases API lets you change the allowed values of an enum field in a single step (PATCH /databases/{databaseId}/collections/{collectionId}/attributes/enum/{key}). Appwrite also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Can I add new allowed values to an enum field that already exists?
- How do I change the default choice of an existing enum attribute?
Say it to your AI assistant
- Set the allowed values of enum attribute {key} on {collectionId} in {databaseId} to {elements}.
- Change the default of existing enum field {key} in {collectionId} ({databaseId}) to {default}.
For your developer
PATCH /databases/{databaseId}/collections/{collectionId}/attributes/enum/{key} in Appwrite Databases API. Full spec on APIs.io.