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
Functions → Delete Deployment
AI-generatedOverview
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
- Deleting a specific deployment of a cloud function to free up resources or remove deprecated versions.
- 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
- Appwrite Functions API - Delete Deployment - Official documentation for deleting a function deployment in Appwrite.