Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Functions → Delete Deployment

AI-generated

Overview

This node interacts with the Appwrite API to manage cloud functions and their deployments. Specifically, the 'Delete Deployment' operation allows users to delete a specific deployment of a function by providing the Function ID and Deployment ID. This is useful for managing and cleaning up function deployments in Appwrite projects, such as removing outdated or unwanted deployments to maintain an organized environment.

Use Case Examples

  1. Deleting a specific deployment of a cloud function to free up resources or remove deprecated versions.
  2. Automating the cleanup of function deployments as part of a CI/CD pipeline.

Properties

Name Meaning
Function ID The ID of the function whose deployment is to be deleted.
Deployment ID The ID of the deployment to delete.

Output

JSON

  • json - The response from the Appwrite API after attempting to delete the deployment, typically indicating success or failure.

Dependencies

  • Appwrite API key credential for authentication

Troubleshooting

  • Ensure that both Function ID and Deployment ID are correctly provided and valid; otherwise, the API call will fail.
  • Check that the API key has sufficient permissions to delete function deployments.
  • If the node throws an error about unknown resource or operation, verify that the resource is set to 'Functions' and operation to 'Delete Deployment'.

Links

Discussion