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
Teams → Delete Membership
AI-generatedOverview
This node interacts with the Appwrite API to manage team memberships, specifically allowing the deletion of a membership from a team. It is useful in scenarios where you need to programmatically remove a user or member from a team within the Appwrite platform, such as managing access control or cleaning up team memberships automatically.
Use Case Examples
- Removing a user from a project team when they leave the project.
- Automating team membership management by deleting memberships based on certain conditions.
Properties
| Name | Meaning |
|---|---|
| Team ID | The unique identifier of the team from which a membership will be deleted. |
| Membership ID | The unique identifier of the membership to be deleted from the specified team. |
Output
JSON
json- The response from the Appwrite API after attempting to delete the membership, typically confirming the deletion or providing error details.
Dependencies
- Requires an Appwrite API key credential with appropriate permissions to manage teams and memberships.
Troubleshooting
- Common issues include providing incorrect Team ID or Membership ID, resulting in errors from the Appwrite API indicating that the resource was not found.
- API authentication errors if the provided API key is invalid or lacks necessary permissions.
- Network or endpoint configuration issues if the Appwrite endpoint or project ID is incorrect.
Links
- Appwrite Teams API - Delete Membership - Official documentation for deleting a membership from a team using the Appwrite API.