templates

Update template (v2)

Changed on

Update template

patch/v2/templates/{templateID}

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/v2/templates/{templateID}
  • 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

Path parameters

templateIDstring required

Request body

publicboolean

Whether the template is public or only accessible by the team

Response

The template was updated successfully

namesstring[] required

Names of the template (namespace/alias format when namespaced)

Changes

    • info

      added the non-success response with the status

    • info

      the endpoint scheme security AdminJWTAuth AND AdminTeamAuth was added to the API

    • info

      the endpoint scheme security AccessTokenAuth was removed from the API