Actions86
- Config Actions
- Container Actions
- Edge Group Actions
- Edge Stack Actions
- Environment Actions
- Image Actions
- Network Actions
- Node Actions
- Registry Actions
- Secret Actions
- Service Actions
- Setting Actions
- Stack Actions
- System Actions
- Team Actions
- Template Actions
- User Actions
- Volume Actions
- Webhook Actions
Team → Create
AI-generatedOverview
This node operation creates a new team in Portainer by sending a POST request to the Portainer API with the specified team name. It is useful for managing teams and members within a Docker environment managed by Portainer, allowing users to programmatically add new teams.
Use Case Examples
- Creating a new team named 'Development Team' to organize members working on development projects.
- Automating team creation as part of onboarding new departments in an organization using Portainer.
Properties
| Name | Meaning |
|---|---|
| Team Name | The name of the team to be created, which is required for the creation operation. |
| Request Options | Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration. |
Output
JSON
body- The JSON response body from the Portainer API after creating the team, typically containing details of the newly created team such as its ID and name.
Dependencies
- Portainer API with an API key credential for authentication
Troubleshooting
- Ensure the API key credential is correctly configured and has permissions to create teams in Portainer.
- Verify the base URL of the Portainer API is correct and accessible from the n8n environment.
- If SSL issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security implications.
- Check that the 'Team Name' property is provided and not empty, as it is required for the creation operation.
Links
- Portainer API Teams Documentation - Official documentation for managing teams via the Portainer API, including creating teams.