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 → Create Team
AI-generatedOverview
This node interacts with the Appwrite API to create a new team within the Appwrite platform. It is useful for automating team management tasks such as creating teams programmatically in workflows. For example, it can be used to create a team with a unique ID, assign a name, and specify roles for the team creator, facilitating collaboration and access control in projects.
Use Case Examples
- Creating a new team with a unique ID and assigning roles like owner and admin to the team creator.
- Automating team creation as part of a user onboarding process in an application integrated with Appwrite.
Properties
| Name | Meaning |
|---|---|
| Team ID | The unique identifier for the team. It can be generated automatically using unique(). |
| Name | The name of the team. This is a required field. |
| Roles | A comma-separated list of roles assigned to the team creator, such as owner or admin. |
Output
JSON
teamId- The unique identifier of the created team.name- The name of the created team.roles- The roles assigned to the team creator in the created team.
Dependencies
- Appwrite API endpoint
- Project ID
- API key credential for authentication
Troubleshooting
- Ensure that the API key and project ID credentials are correctly configured to avoid authentication errors.
- Verify that the team name is provided as it is a required field; missing this will cause the operation to fail.
- If the team ID is not unique, the API may reject the creation request; use unique() to generate a unique ID.
- Check network connectivity to the Appwrite endpoint to prevent request timeouts or failures.
Links
- Appwrite Teams Create API - Official documentation for creating teams using the Appwrite API.