Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Sites → Delete Site

AI-generated

Overview

This node interacts with the Appwrite API to perform various operations on different resources. Specifically, for the 'Sites' resource and the 'Delete Site' operation, it deletes a site identified by a given Site ID. This is useful for managing and cleaning up sites within an Appwrite project, such as removing obsolete or unwanted sites.

Use Case Examples

  1. Deleting a site by providing its Site ID to remove it from the Appwrite project.
  2. Automating site management workflows by integrating site deletion into larger automation processes.

Properties

Name Meaning
Site ID The unique identifier of the site to be deleted, required to specify which site to remove.

Output

JSON

  • json - The JSON response from the Appwrite API after attempting to delete the site, typically confirming deletion or providing error details.

Dependencies

  • Appwrite API key credential for authentication
  • Appwrite project ID and endpoint URL

Troubleshooting

  • Ensure the Site ID provided is correct and exists in the Appwrite project to avoid errors.
  • Verify that the API key has sufficient permissions to delete sites.
  • Common error messages may include authorization errors if credentials are invalid or permission issues, and not found errors if the Site ID does not exist.

Links

Discussion