volumes

Create team volume

Changed on

Create a new team volume

post/volumes

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/volumes
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer and API key in header X-Team-ID
    • or API key in header X-Admin-Token and API key in header X-Team-ID
    • or HTTP bearer and API key in header X-Team-ID

Request body

namestring required

Name of the volume

Response

Successfully created a new team volume

volumeIDstring required

ID of the volume

namestring required

Name of the volume

tokenstring required

Auth token to use for interacting with volume content

domainstring

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.

Changes