You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Template names must be **globally unique across the entire E2B platform**, not just within your team or account. This means if another user has already claimed a name, you cannot use it for your template.
45
-
</Warning>
43
+
Template names are scoped to your team. This means:
46
44
47
-
When choosing a name, consider using:
48
-
- Your company or project name as a prefix (e.g., `acme-api-server`)
49
-
- Version numbers or environment indicators (e.g., `myapp-v2`, `myapp-staging`)
50
-
- Descriptive names that indicate the template's purpose (e.g., `data-analysis-python`)
45
+
- Your template named `my-app` is stored as `your-team-slug/my-app`
46
+
- You can reference it simply as `my-app` within your team
47
+
- Other teams can have their own `my-app` template without conflict
48
+
- Public templates should be referenced using the full namespaced format (`team-slug/template-name`)
49
+
50
+
<Info>
51
+
**Backwards Compatibility**: Existing public templates remain accessible without the team slug prefix. New public templates should be referenced using the full namespaced format (`team-slug/template-name`).
52
+
</Info>
51
53
52
54
## Common Use Cases
53
55
@@ -137,7 +139,7 @@ When building variants with the same template definition but different CPU/RAM c
137
139
138
140
## Checking Name Availability
139
141
140
-
You can check if a name is already in use with the `exists` method.
142
+
You can check if a name is already in use within your team with the `exists` method.
1.**Use descriptive names**: Choose names that clearly indicate the template's purpose or configuration
163
165
2.**Use tags for versioning**: Instead of baking version numbers into names, use [tags](/docs/template/tags) for version management (e.g., `myapp:v1`, `myapp:v2`)
164
166
3.**Use consistent naming**: Establish a naming convention for your team and stick to it
165
-
4.**Document your names**: Keep a record of which names are used for which purposes in your team
0 commit comments