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
Sites → Delete Site
AI-generatedOverview
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
- Deleting a site by providing its Site ID to remove it from the Appwrite project.
- 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
- Appwrite API Documentation - Delete Site - Official documentation for the Delete Site operation in the Appwrite API.