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
Sites → Delete Variable
AI-generatedOverview
This node interacts with the Appwrite API to manage site variables, specifically allowing the deletion of a variable from a site. It is useful in scenarios where you need to programmatically remove configuration or environment variables associated with a site hosted on Appwrite. For example, it can be used in automation workflows to clean up or update site settings by deleting obsolete or sensitive variables.
Use Case Examples
- Deleting a variable from a specific site by providing the Site ID and Variable ID.
- Automating site configuration management by removing variables no longer needed.
Properties
| Name | Meaning |
|---|---|
| Site ID | The unique identifier of the site from which the variable will be deleted. |
| Variable ID | The unique identifier of the variable to be deleted from the specified site. |
Output
JSON
success- Indicates whether the variable deletion was successful.message- Additional information or confirmation message about the deletion operation.
Dependencies
- Requires an Appwrite API key credential with access to the Sites service.
Troubleshooting
- Ensure that the provided Site ID and Variable ID are correct and exist in the Appwrite project.
- Check that the API key used has sufficient permissions to delete variables on the specified site.
- Common errors include authorization failures if the API key is invalid or lacks permissions, and not found errors if the Site ID or Variable ID do not exist.
Links
- Appwrite Sites API - Delete Variable - Official documentation for deleting a variable from a site using the Appwrite API.