Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Sites → Delete Deployment

AI-generated

Overview

This node interacts with the Appwrite API to manage sites and their deployments. Specifically, the 'Delete Deployment' operation allows users to delete a deployment from a specified site by providing the Site ID and Deployment ID. This is useful for managing and cleaning up deployments in Appwrite-hosted sites, such as removing outdated or unwanted deployments.

Use Case Examples

  1. Deleting a specific deployment from a site by providing the site ID and deployment ID to keep the site clean and up-to-date.
  2. Automating deployment management workflows by integrating this node to remove deployments programmatically.

Properties

Name Meaning
Site ID The ID of the site from which the deployment will be deleted.
Deployment ID The ID of the deployment to be deleted from the specified site.

Output

JSON

  • success - Indicates whether the deployment deletion was successful.
  • message - Additional information or confirmation message about the deletion operation.

Dependencies

  • Appwrite API key credential for authentication and access to the Appwrite project and endpoint.

Troubleshooting

  • Ensure that the Site ID and Deployment ID are correct and exist in the Appwrite project to avoid errors.
  • Check that the API key used has sufficient permissions to delete deployments in the specified site.
  • Common error messages may include authorization errors if the API key is invalid or lacks permissions, or not found errors if the site or deployment IDs are incorrect. Verify credentials and IDs to resolve these issues.

Links

Discussion