Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Sites → Delete Variable

AI-generated

Overview

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

  1. Deleting a variable from a specific site by providing the Site ID and Variable ID.
  2. 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

Discussion