Actions181
- Account Actions
- Get Account
- Create Account
- Update Email
- Update Name
- Update Password
- Update Phone
- Update Status
- Get Preferences
- Update Preferences
- List Sessions
- Delete Sessions
- Get Session
- Update Session
- Delete Session
- Create Anonymous Session
- Create Email/Password Session
- Create Magic URL Session
- Create OAuth2 Session
- Create Phone Session
- Create Session from Token
- Create JWT
- Create Magic URL
- Create Phone Token
- Create Email Verification
- Update Email Verification
- Create Phone Verification
- Update Phone Verification
- Create Password Recovery
- Update Password Recovery
- Create Recovery
- Update Recovery
- Update MFA
- Create MFA Authenticator
- Update MFA Authenticator
- Delete MFA Authenticator
- Create MFA Challenge
- Update MFA Challenge
- Attribute Actions
- Avatars Actions
- Collection Actions
- Database Actions
- Document Actions
- Functions Actions
- Index Actions
- Locale Actions
- Messaging Actions
- Sites Actions
- Storage Actions
- Teams Actions
- Users Actions
Messaging → Update Topic
AI-generatedOverview
This node interacts with the Appwrite API to update a messaging topic. It allows users to modify the name and subscribe permissions of an existing topic by specifying the topic ID. This is useful in scenarios where topic configurations need to be changed dynamically, such as updating access controls or renaming topics in a messaging system.
Use Case Examples
- Updating the name of a topic to better reflect its purpose.
- Changing the subscribe permissions to restrict or allow different user groups.
Properties
| Name | Meaning |
|---|---|
| Topic ID | The unique identifier of the topic to update, required to specify which topic to modify. |
| Name | The new name for the topic; if left empty, the current name remains unchanged. |
| Subscribe Permissions | A comma-separated list of permissions defining who can subscribe to the topic; if left empty, current permissions remain unchanged. |
Output
JSON
topicId- The ID of the updated topic.name- The updated name of the topic.subscribe- The updated subscribe permissions for the topic.
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Ensure the Topic ID is valid and exists; otherwise, the update will fail.
- If the API key or project ID is incorrect or missing, authentication errors will occur.
- Empty 'Name' or 'Subscribe Permissions' fields will keep the current values, so verify if changes are intended.
- Check network connectivity to the Appwrite endpoint to avoid request failures.
Links
- Appwrite Messaging API - Update Topic - Official documentation for updating a topic in Appwrite Messaging service.