Skip to main content
POST
Create team volume

Authorizations

X-API-Key
string
header
required

Body

application/json
name
string
required

Name of the volume

Pattern: ^[a-zA-Z0-9_-]+$

Response

Successfully created a new team volume

volumeID
string
required

ID of the volume

name
string
required

Name of the volume

token
string
required

Auth token to use for interacting with volume content

domain
string

Domain to use as the destination for volume content requests, replacing the default api.<E2B_DOMAIN>. Only returned when the team is connected to a custom (BYOC) cluster; absent otherwise, in which case the default domain is used.